Package com.priint.pubserver.entity
Enum ContextDefinition.Criteria
- java.lang.Object
-
- java.lang.Enum<ContextDefinition.Criteria>
-
- com.priint.pubserver.entity.ContextDefinition.Criteria
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ContextDefinition.Criteria>
- Enclosing class:
- ContextDefinition
public static enum ContextDefinition.Criteria extends java.lang.Enum<ContextDefinition.Criteria>
List of context criteria that can used in publishing server.Each supported criterion is related to a class in
com.priint.pubserver.entity.- Since:
- 4.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSORTMENTBRANDDeprecated.since 4.1.6 Please do not use this.COUNTRYDOCUMENTIDLANGUAGEMARKETORGANIZATIONDeprecated.since 4.1.6 Please do not use this.PUBLICATIONTARGETGROUPWELL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel()Gets label.voidsetLabel(java.lang.String label)Sets label.static ContextDefinition.CriteriavalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ContextDefinition.Criteria[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WELL
public static final ContextDefinition.Criteria WELL
-
ASSORTMENT
public static final ContextDefinition.Criteria ASSORTMENT
-
COUNTRY
public static final ContextDefinition.Criteria COUNTRY
-
LANGUAGE
public static final ContextDefinition.Criteria LANGUAGE
-
BRAND
@Deprecated public static final ContextDefinition.Criteria BRAND
Deprecated.since 4.1.6 Please do not use this.Not supported yet.
-
ORGANIZATION
@Deprecated public static final ContextDefinition.Criteria ORGANIZATION
Deprecated.since 4.1.6 Please do not use this.Not supported yet.
-
PUBLICATION
public static final ContextDefinition.Criteria PUBLICATION
-
DOCUMENTID
public static final ContextDefinition.Criteria DOCUMENTID
-
MARKET
public static final ContextDefinition.Criteria MARKET
-
TARGETGROUP
public static final ContextDefinition.Criteria TARGETGROUP
-
-
Method Detail
-
values
public static ContextDefinition.Criteria[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContextDefinition.Criteria c : ContextDefinition.Criteria.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContextDefinition.Criteria valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getLabel
public java.lang.String getLabel()
Gets label.- Returns:
- display name for the entry
-
setLabel
public void setLabel(java.lang.String label)
Sets label.- Parameters:
label- display name
-
-