Package org.opencms.acacia.client.export
Class CmsTypeWrapper
- java.lang.Object
-
- org.opencms.acacia.client.export.CmsTypeWrapper
-
- All Implemented Interfaces:
org.timepedia.exporter.client.Exportable
public class CmsTypeWrapper extends java.lang.Object implements org.timepedia.exporter.client.Exportable
Exportable wrapper for entity types.
-
-
Constructor Summary
Constructors Constructor Description CmsTypeWrapper()
Default constructor.CmsTypeWrapper(org.opencms.acacia.shared.CmsType type)
Wrapper constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAttributeMaxOccurrence(java.lang.String attributeName)
Wrapper method.int
getAttributeMinOccurrence(java.lang.String attributeName)
Wrapper method.java.lang.String[]
getAttributeNames()
Wrapper method.CmsTypeWrapper
getAttributeType(java.lang.String attributeName)
Wrapper method.java.lang.String
getAttributeTypeName(java.lang.String attributeName)
Wrapper method.int
getChoiceMaxOccurrence()
Wrapper method.java.lang.String
getId()
Wrapper method.boolean
isChoice()
Wrapper method.boolean
isSimpleType()
Wrapper method.
-
-
-
Constructor Detail
-
CmsTypeWrapper
public CmsTypeWrapper()
Default constructor.
-
CmsTypeWrapper
public CmsTypeWrapper(org.opencms.acacia.shared.CmsType type)
Wrapper constructor.- Parameters:
type
- the type object to wrap
-
-
Method Detail
-
getAttributeMaxOccurrence
public int getAttributeMaxOccurrence(java.lang.String attributeName)
Wrapper method.- Parameters:
attributeName
- parameter for the wrapped method- Returns:
- the result of the wrapped method
-
getAttributeMinOccurrence
public int getAttributeMinOccurrence(java.lang.String attributeName)
Wrapper method.- Parameters:
attributeName
- parameter for the wrapped method- Returns:
- the result of the wrapped method
-
getAttributeNames
public java.lang.String[] getAttributeNames()
Wrapper method.- Returns:
- the result of the wrapped method
-
getAttributeType
public CmsTypeWrapper getAttributeType(java.lang.String attributeName)
Wrapper method.- Parameters:
attributeName
- parameter for the wrapped method- Returns:
- the result of the wrapped method
-
getAttributeTypeName
public java.lang.String getAttributeTypeName(java.lang.String attributeName)
Wrapper method.- Parameters:
attributeName
- parameter for the wrapped method- Returns:
- the result of the wrapped method
-
getChoiceMaxOccurrence
public int getChoiceMaxOccurrence()
Wrapper method.- Returns:
- the result of the wrapped method
-
getId
public java.lang.String getId()
Wrapper method.- Returns:
- the result of the wrapped method
-
isChoice
public boolean isChoice()
Wrapper method.- Returns:
- the result of the wrapped method
-
isSimpleType
public boolean isSimpleType()
Wrapper method.- Returns:
- the result of the wrapped method
-
-