org.eclipse.persistence.jaxb.compiler
Class ElementDeclaration
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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)