org.eclipse.persistence.jaxb.compiler
Class ChoiceProperty
java.lang.Object
org.eclipse.persistence.jaxb.compiler.Property
org.eclipse.persistence.jaxb.compiler.ChoiceProperty
public class ChoiceProperty
- extends Property
INTERNAL:
Purpose:Subclass Property to add XmlElements specific information
Responsibilities:
- Indicate that a property represents an xsd:choice construct
- Store additional XmlElements specific information
This class is a subclass of Property and is used to indicate that
a property maps to a choice structure in the schema. This will be
created by the AnnotationsProcessor for any property that is annotated
with the XmlElements annotation. Information about the nested choice
elements is stored here for later processing.
- See Also:
Property
,
TypeInfo
,
AnnotationsProcessor
- Author:
- mmacivor
Methods inherited from class org.eclipse.persistence.jaxb.compiler.Property |
getAdapterClass, getElement, getGenericType, getGetMethodName, getMimeType, getPropertyName, getSchemaName, getSchemaType, getSetMethodName, getType, getValueType, hasAdapterClass, isAny, isAttribute, isMethodProperty, isMtomAttachment, isReference, isRequired, isSwaAttachmentRef, setAdapterClass, setAdapterClass, setElement, setGenericType, setGetMethodName, setHelper, setIsAttribute, setIsMtomAttachment, setIsRequired, setIsSwaAttachmentRef, setMethodProperty, setMimeType, setPropertyName, setSchemaName, setSchemaType, setSetMethodName, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChoiceProperty
public ChoiceProperty(Helper helper)
getChoiceProperties
public java.util.Collection<Property> getChoiceProperties()
setChoiceProperties
public void setChoiceProperties(java.util.Collection<Property> properties)
isChoice
public boolean isChoice()
- Overrides:
isChoice
in class Property