EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

org.eclipse.persistence.jaxb.compiler
Class ChoiceProperty

java.lang.Object
  extended by org.eclipse.persistence.jaxb.compiler.Property
      extended by org.eclipse.persistence.jaxb.compiler.ChoiceProperty

public class ChoiceProperty
extends Property

INTERNAL:

Purpose:Subclass Property to add XmlElements specific information

Responsibilities:

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

Constructor Summary
ChoiceProperty(Helper helper)
           
 
Method Summary
 java.util.Collection<Property> getChoiceProperties()
           
 boolean isChoice()
           
 void setChoiceProperties(java.util.Collection<Property> properties)
           
 
Methods inherited from class org.eclipse.persistence.jaxb.compiler.Property
getActualType, getDefaultValue, getElement, getGenericType, getGetMethodName, getMimeType, getOriginalType, getPropertyName, getSchemaName, getSchemaType, getSetMethodName, getType, getXmlJavaTypeAdapter, isAny, isAttribute, isCollectionType, isMethodProperty, isMixedContent, isMtomAttachment, isNillable, isReference, isRequired, isSetDefaultValue, isSetXmlJavaTypeAdapter, isSwaAttachmentRef, isTransient, isXmlElementType, setAdapterClass, setDefaultValue, setElement, setGenericType, setGetMethodName, setHasXmlElementType, setHelper, setIsAttribute, setIsMtomAttachment, setIsRequired, setIsSwaAttachmentRef, setMethodProperty, setMimeType, setMixedContent, setNillable, setOriginalType, setPropertyName, setSchemaName, setSchemaType, setSetMethodName, setTransient, setType, setXmlJavaTypeAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoiceProperty

public ChoiceProperty(Helper helper)
Method Detail

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

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference