Enum Property.Type
- java.lang.Object
-
- java.lang.Enum<Property.Type>
-
- com.gentics.contentnode.rest.model.Property.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Property.Type>
- Enclosing class:
- Property
public static enum Property.Type extends Enum<Property.Type>
Enumeration of property types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
BREADCRUMB
CMSFORM
DATASOURCE
FILE
FOLDER
FORM
IMAGE
LIST
LOCALFILE
MULTISELECT
NAVIGATION
NODE
ORDEREDLIST
OVERVIEW
PAGE
PAGETAG
RICHTEXT
SELECT
STRING
TABLE
TEMPLATETAG
UNKNOWN
UNORDEREDLIST
VELOCITY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Property.Type
get(int typeId)
Get the Type from the typeidstatic Property.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Property.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final Property.Type STRING
-
RICHTEXT
public static final Property.Type RICHTEXT
-
BOOLEAN
public static final Property.Type BOOLEAN
-
FILE
public static final Property.Type FILE
-
IMAGE
public static final Property.Type IMAGE
-
FOLDER
public static final Property.Type FOLDER
-
PAGE
public static final Property.Type PAGE
-
TEMPLATETAG
public static final Property.Type TEMPLATETAG
-
PAGETAG
public static final Property.Type PAGETAG
-
LIST
public static final Property.Type LIST
-
ORDEREDLIST
public static final Property.Type ORDEREDLIST
-
UNORDEREDLIST
public static final Property.Type UNORDEREDLIST
-
SELECT
public static final Property.Type SELECT
-
MULTISELECT
public static final Property.Type MULTISELECT
-
DATASOURCE
public static final Property.Type DATASOURCE
-
OVERVIEW
public static final Property.Type OVERVIEW
-
UNKNOWN
public static final Property.Type UNKNOWN
-
TABLE
public static final Property.Type TABLE
-
LOCALFILE
public static final Property.Type LOCALFILE
-
VELOCITY
public static final Property.Type VELOCITY
-
BREADCRUMB
public static final Property.Type BREADCRUMB
-
NAVIGATION
public static final Property.Type NAVIGATION
-
NODE
public static final Property.Type NODE
-
FORM
public static final Property.Type FORM
-
CMSFORM
public static final Property.Type CMSFORM
-
-
Method Detail
-
values
public static Property.Type[] 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 (Property.Type c : Property.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Property.Type 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
-
get
public static Property.Type get(int typeId)
Get the Type from the typeid- Parameters:
typeId
- type id- Returns:
- Type
-
-