Subversion Repositories SmartDukaan

Rev

Rev 45 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 45 Rev 49
Line 2... Line 2...
2
 * 
2
 * 
3
 */
3
 */
4
package in.shop2020.metamodel.definitions;
4
package in.shop2020.metamodel.definitions;
5
 
5
 
6
/**
6
/**
-
 
7
 * Used to represent 3-state machine where ever applicable
7
 * 
8
 * 
8
 * @author naveen
9
 * @author naveen
9
 *
10
 *
10
 */
11
 */
11
public enum EditorialImportance {
12
public enum EditorialImportance {
12
	MANDATORY,
13
	MANDATORY,
13
	RECOMMENDED,
14
	RECOMMENDED,
14
	OPTIONAL;
15
	OPTIONAL;
15
	
16
	
16
	/**
17
	/**
17
	 * @return String 
18
	 * @return String representation
18
	 */
19
	 */
19
	public String toString() {
20
	public String toString() {
20
		String text = "";
21
		String text = "";
21
		if(this == EditorialImportance.MANDATORY) {
22
		if(this == EditorialImportance.MANDATORY) {
22
			text = "Mandatory";
23
			text = "Mandatory";