com.gentics.contentnode.rest.model
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
Method Summary |
static Property.Type |
get(int typeId)
Get the Type from the typeid |
static 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. |
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
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
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 name
NullPointerException
- 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
Copyright © 2013 Gentics Software GmbH. All Rights Reserved.