org.eclipse.persistence.jaxb.compiler
Class EnumTypeInfo
java.lang.Object
org.eclipse.persistence.jaxb.compiler.TypeInfo
org.eclipse.persistence.jaxb.compiler.EnumTypeInfo
public class EnumTypeInfo
- extends TypeInfo
INTERNAL:
Purpose:A specialized TypeInfo that stores additional information for a
Java 5 Enumeration type.
Responsibilities:
- Hold onto the restriction base type for schema generation
- Hold onto a map of Object Enum values to String values for Mapping generation
- See Also:
TypeInfo
,
org.eclipse.persistence.jaxb.AnnotationsProcessor
- Author:
- mmacivor
Methods inherited from class org.eclipse.persistence.jaxb.compiler.TypeInfo |
addAdapterClass, addAdapterClass, addProperty, getAccessType, getAdapterClass, getAdapterClass, getAdaptersByClass, getClassNamespace, getComplexType, getCompositor, getDescriptor, getIDProperty, getProperties, getPropertyList, getPropertyNames, getPropOrder, getSchema, getSchemaTypeName, getSimpleType, hasElementRefs, hasRootElement, isComplexType, isIDSet, orderProperties, setAccessType, setClassNamespace, setComplexType, setCompositor, setDescriptor, setHasElementRefs, setHasRootElement, setIDProperty, setProperties, setPropOrder, setSchema, setSchemaTypeName, setSimpleType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumTypeInfo
public EnumTypeInfo(Helper helper)
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
getRestrictionBase
public javax.xml.namespace.QName getRestrictionBase()
setRestrictionBase
public void setRestrictionBase(javax.xml.namespace.QName restrictionBase)
getObjectValuesToFieldValues
public java.util.HashMap<java.lang.Object,java.lang.String> getObjectValuesToFieldValues()
isEnumerationType
public boolean isEnumerationType()
- Overrides:
isEnumerationType
in class TypeInfo