Package org.opencms.file
Class CmsPropertyDefinition.CmsPropertyType
- java.lang.Object
-
- org.opencms.util.A_CmsModeIntEnumeration
-
- org.opencms.file.CmsPropertyDefinition.CmsPropertyType
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CmsPropertyDefinition
public static final class CmsPropertyDefinition.CmsPropertyType extends A_CmsModeIntEnumeration
Enumeration class for property types.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static CmsPropertyDefinition.CmsPropertyType
LINK
Property value is treated as a link or list of links.protected static CmsPropertyDefinition.CmsPropertyType
NORMAL
Property value is not a link.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsPropertyDefinition.CmsPropertyType
valueOf(int type)
Returns the property definition type for the given type id.-
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode, toString
-
-
-
-
Field Detail
-
LINK
protected static final CmsPropertyDefinition.CmsPropertyType LINK
Property value is treated as a link or list of links.
-
NORMAL
protected static final CmsPropertyDefinition.CmsPropertyType NORMAL
Property value is not a link.
-
-
Method Detail
-
valueOf
public static CmsPropertyDefinition.CmsPropertyType valueOf(int type)
Returns the property definition type for the given type id.If the given String matches no known type
will be returned as the default.NORMAL
- Parameters:
type
- the type value to get the property type for- Returns:
- the property type for the given type value
-
-