EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 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
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
 

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.1.1_ 1.1.1.v20090430-r4097 API Reference