Package com.priint.pubserver.entity
Enum Entity.DataClass
- java.lang.Object
-
- java.lang.Enum<Entity.DataClass>
-
- com.priint.pubserver.entity.Entity.DataClass
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Entity.DataClass>
- Enclosing class:
- Entity
public static enum Entity.DataClass extends java.lang.Enum<Entity.DataClass>
List of possible entity data class.You can get the type from calling
getEntityClass()on an enum value.- Since:
- 4.0.0
- See Also:
com.priint.pubserver.plugin.entitydata
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUCKETThe Bucket.CONTENTMETADATAThe Contentmetadata.CORDThe Cord.KEYVALUEThe Keyvalue.MEDIAASSETThe Mediaasset.PLANNINGThe Planning.PRICEThe Price.TABLEDATAThe Tabledata.TEXTThe Text.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Entity.DataClassforEntityClass(java.lang.Class<? extends EntityData> clazz)For entity class data class.static Entity.DataClassfromXmlName(java.lang.String xmlName)From xml name data class.java.lang.Class<? extends EntityData>getEntityClass()get the entity class typejava.lang.StringgetXmlName()Gets xml name.static Entity.DataClassvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Entity.DataClass[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUCKET
public static final Entity.DataClass BUCKET
The Bucket.- See Also:
Bucket
-
TEXT
public static final Entity.DataClass TEXT
The Text.- See Also:
Text
-
MEDIAASSET
public static final Entity.DataClass MEDIAASSET
The Mediaasset.- See Also:
MediaAsset
-
KEYVALUE
public static final Entity.DataClass KEYVALUE
The Keyvalue.- See Also:
KeyValue
-
CORD
public static final Entity.DataClass CORD
The Cord.- See Also:
Cord
-
PRICE
public static final Entity.DataClass PRICE
The Price.- See Also:
Price
-
TABLEDATA
public static final Entity.DataClass TABLEDATA
The Tabledata.- See Also:
TableData
-
PLANNING
public static final Entity.DataClass PLANNING
The Planning.- See Also:
Planning
-
CONTENTMETADATA
public static final Entity.DataClass CONTENTMETADATA
The Contentmetadata.- See Also:
ContentMetaData
-
-
Method Detail
-
values
public static Entity.DataClass[] 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 (Entity.DataClass c : Entity.DataClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Entity.DataClass 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
-
getEntityClass
public java.lang.Class<? extends EntityData> getEntityClass()
get the entity class type- Returns:
- EntityData subclass
-
getXmlName
public java.lang.String getXmlName()
Gets xml name.- Returns:
- xmlName String
-
forEntityClass
public static Entity.DataClass forEntityClass(java.lang.Class<? extends EntityData> clazz)
For entity class data class.- Parameters:
clazz- theEntityData- Returns:
- dataClass
Entity.DataClass
-
fromXmlName
public static Entity.DataClass fromXmlName(java.lang.String xmlName)
From xml name data class.- Parameters:
xmlName- String- Returns:
- dataClass
Entity.DataClass
-
-