Package com.terminalfour.publish.data
Enum PDContentItemType
- java.lang.Object
-
- java.lang.Enum<PDContentItemType>
-
- com.terminalfour.publish.data.PDContentItemType
-
- All Implemented Interfaces:
IPDData
,Serializable
,Comparable<PDContentItemType>
public enum PDContentItemType extends Enum<PDContentItemType> implements IPDData
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_CONTROL
SECTION_META_DESCRIPTION
STANDARD
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
Checks whether the object exists or not.static PDContentItemType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDContentItemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS_CONTROL
public static final PDContentItemType ACCESS_CONTROL
-
SECTION_META_DESCRIPTION
public static final PDContentItemType SECTION_META_DESCRIPTION
-
STANDARD
public static final PDContentItemType STANDARD
-
UNKNOWN
public static final PDContentItemType UNKNOWN
-
-
Method Detail
-
values
public static PDContentItemType[] 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 (PDContentItemType c : PDContentItemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDContentItemType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-