org.opencms.file
Class CmsPropertyDefinition.CmsPropertyType

java.lang.Object
  extended by org.opencms.util.A_CmsModeIntEnumeration
      extended by 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
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
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 NORMAL will be returned as the default.

Parameters:
type - the type value to get the property type for
Returns:
the property type for the given type value