EclipseLink 2.3.2, build 'v20111125-r10461' API Reference

org.eclipse.persistence.jaxb.compiler
Class ElementDeclaration

java.lang.Object
  extended by org.eclipse.persistence.jaxb.compiler.ElementDeclaration

public class ElementDeclaration
extends java.lang.Object


Constructor Summary
ElementDeclaration(javax.xml.namespace.QName name, JavaClass javaType, java.lang.String javaTypeName, boolean isList)
           
ElementDeclaration(javax.xml.namespace.QName name, JavaClass javaType, java.lang.String javaTypeName, boolean isList, java.lang.Class scopeClass)
           
 
Method Summary
 void addSubstitutableElement(ElementDeclaration element)
           
 JavaClass getAdaptedJavaType()
           
 java.lang.String getAdaptedJavaTypeName()
           
 java.lang.String getDefaultValue()
           
 javax.xml.namespace.QName getElementName()
           
 JavaClass getJavaType()
           
 java.lang.Class getJavaTypeAdapterClass()
           
 java.lang.String getJavaTypeName()
           
 java.lang.Class getScopeClass()
           
 java.util.List<ElementDeclaration> getSubstitutableElements()
           
 javax.xml.namespace.QName getSubstitutionHead()
           
 TypeMappingInfo getTypeMappingInfo()
           
 java.lang.String getXmlMimeType()
           
 boolean isList()
           
 boolean isNillable()
          Return if the global element will be marked as nillable
 boolean isXmlAttachmentRef()
           
 boolean isXmlRootElement()
           
 void setAdaptedJavaType(JavaClass adaptedJavaType)
           
 void setDefaultValue(java.lang.String value)
           
 void setIsXmlRootElement(boolean isXmlRoot)
           
 void setJavaType(JavaClass type)
           
 void setJavaTypeAdapterClass(java.lang.Class javaTypeAdapterClass)
           
 void setList(boolean isList)
           
 void setNillable(boolean nillable)
          Set if the global element should be marked as nillable
 void setScopeClass(java.lang.Class scopeClass)
           
 void setSubstitutionHead(javax.xml.namespace.QName rootElement)
           
 void setTypeMappingInfo(TypeMappingInfo info)
           
 void setXmlAttachmentRef(boolean xmlAttachmentRef)
           
 void setXmlMimeType(java.lang.String xmlMimeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementDeclaration

public ElementDeclaration(javax.xml.namespace.QName name,
                          JavaClass javaType,
                          java.lang.String javaTypeName,
                          boolean isList)

ElementDeclaration

public ElementDeclaration(javax.xml.namespace.QName name,
                          JavaClass javaType,
                          java.lang.String javaTypeName,
                          boolean isList,
                          java.lang.Class scopeClass)
Method Detail

getElementName

public javax.xml.namespace.QName getElementName()

getJavaTypeName

public java.lang.String getJavaTypeName()

getSubstitutableElements

public java.util.List<ElementDeclaration> getSubstitutableElements()

addSubstitutableElement

public void addSubstitutableElement(ElementDeclaration element)

setSubstitutionHead

public void setSubstitutionHead(javax.xml.namespace.QName rootElement)

getSubstitutionHead

public javax.xml.namespace.QName getSubstitutionHead()

isXmlRootElement

public boolean isXmlRootElement()

setIsXmlRootElement

public void setIsXmlRootElement(boolean isXmlRoot)

isNillable

public boolean isNillable()
Return if the global element will be marked as nillable

Returns:

setNillable

public void setNillable(boolean nillable)
Set if the global element should be marked as nillable

Parameters:
nillable -

getJavaType

public JavaClass getJavaType()

setJavaType

public void setJavaType(JavaClass type)

isList

public boolean isList()

setList

public void setList(boolean isList)

getJavaTypeAdapterClass

public java.lang.Class getJavaTypeAdapterClass()

setJavaTypeAdapterClass

public void setJavaTypeAdapterClass(java.lang.Class javaTypeAdapterClass)

getAdaptedJavaType

public JavaClass getAdaptedJavaType()

setAdaptedJavaType

public void setAdaptedJavaType(JavaClass adaptedJavaType)

getAdaptedJavaTypeName

public java.lang.String getAdaptedJavaTypeName()

getScopeClass

public java.lang.Class getScopeClass()

setScopeClass

public void setScopeClass(java.lang.Class scopeClass)

getDefaultValue

public java.lang.String getDefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.String value)

getTypeMappingInfo

public TypeMappingInfo getTypeMappingInfo()

setTypeMappingInfo

public void setTypeMappingInfo(TypeMappingInfo info)

getXmlMimeType

public java.lang.String getXmlMimeType()

setXmlMimeType

public void setXmlMimeType(java.lang.String xmlMimeType)

isXmlAttachmentRef

public boolean isXmlAttachmentRef()

setXmlAttachmentRef

public void setXmlAttachmentRef(boolean xmlAttachmentRef)

EclipseLink 2.3.2, build 'v20111125-r10461' API Reference