Class XmlElement
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlElement
-
public class XmlElement extends JavaAttribute
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}java-attribute"> <all> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-abstract-null-policy" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-access-methods" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element-wrapper" minOccurs="0"/> <element name="xml-inverse-reference" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="mapped-by" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-java-type-adapter" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-map" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-properties" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-schema-type" minOccurs="0"/> </all> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="default-value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="nillable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="container-type" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="javax.xml.bind.annotation.XmlElement.DEFAULT" /> <attribute name="xml-id" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-idref" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-key" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-list" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-inline-binary-data" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-attachment-ref" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-mime-type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="read-only" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="write-only" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="cdata" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-path" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="xml-location" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXmlElement.XmlInverseReferenceJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Booleancdataprotected java.lang.StringcontainerTypeprotected java.lang.StringdefaultValueprotected java.lang.Stringnameprotected java.lang.Stringnamespaceprotected java.lang.Booleannillableprotected java.lang.BooleanreadOnlyprotected java.lang.Booleanrequiredprotected java.lang.Stringtypeprotected java.lang.BooleanwriteOnlyprotected JAXBElement<? extends XmlAbstractNullPolicy>xmlAbstractNullPolicyprotected XmlAccessMethodsxmlAccessMethodsprotected java.lang.BooleanxmlAttachmentRefprotected XmlElementWrapperxmlElementWrapperprotected java.lang.BooleanxmlIdprotected java.lang.BooleanxmlIdrefprotected java.lang.BooleanxmlInlineBinaryDataprotected XmlElement.XmlInverseReferencexmlInverseReferenceprotected XmlJavaTypeAdapterxmlJavaTypeAdapterprotected java.lang.BooleanxmlKeyprotected java.lang.BooleanxmlListprotected java.lang.BooleanxmlLocationprotected XmlMapxmlMapprotected java.lang.StringxmlMimeTypeprotected java.lang.StringxmlPathprotected XmlPropertiesxmlPropertiesprotected XmlSchemaTypexmlSchemaType-
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute, xmlAccessorType
-
-
Constructor Summary
Constructors Constructor Description XmlElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContainerType()Gets the value of the containerType property.java.lang.StringgetDefaultValue()Gets the value of the defaultValue property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetNamespace()Gets the value of the namespace property.java.lang.StringgetType()Gets the value of the type property.JAXBElement<? extends XmlAbstractNullPolicy>getXmlAbstractNullPolicy()Gets the value of the xmlAbstractNullPolicy property.XmlAccessMethodsgetXmlAccessMethods()Gets the value of the xmlAccessMethods property.XmlElementWrappergetXmlElementWrapper()Gets the value of the xmlElementWrapper property.XmlElement.XmlInverseReferencegetXmlInverseReference()Gets the value of the xmlInverseReference property.XmlJavaTypeAdaptergetXmlJavaTypeAdapter()Gets the value of the xmlJavaTypeAdapter property.XmlMapgetXmlMap()Gets the value of the xmlMap property.java.lang.StringgetXmlMimeType()Gets the value of the xmlMimeType property.java.lang.StringgetXmlPath()Gets the value of the xmlPath property.XmlPropertiesgetXmlProperties()Gets the value of the xmlProperties property.XmlSchemaTypegetXmlSchemaType()Gets the value of the xmlSchemaType property.booleanisCdata()Gets the value of the cdata property.booleanisNillable()Gets the value of the nillable property.booleanisReadOnly()Gets the value of the readOnly property.booleanisRequired()Gets the value of the required property.booleanisSetCdata()Indicates if the cdata field has been set, i.e. is not null.booleanisSetReadOnly()Indicates if the isReadOnly flag was set.booleanisSetWriteOnly()Indicates if the isWriteOnly flag was set.booleanisSetXmlList()Indicates if xmlList has been set, i.e. is non-null.booleanisWriteOnly()Gets the value of the writeOnly property.booleanisXmlAttachmentRef()Gets the value of the xmlAttachmentRef property.booleanisXmlId()Gets the value of the xmlId property.booleanisXmlIdref()Gets the value of the xmlIdref property.booleanisXmlInlineBinaryData()Gets the value of the xmlInlineBinaryData property.booleanisXmlKey()Gets the value of the xmlKey property.booleanisXmlList()Gets the value of the xmlList property.booleanisXmlLocation()Gets the value of the xmlLocation property.voidsetCdata(java.lang.Boolean value)Sets the value of the cdata property.voidsetContainerType(java.lang.String value)Sets the value of the containerType property.voidsetDefaultValue(java.lang.String value)Sets the value of the defaultValue property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNamespace(java.lang.String value)Sets the value of the namespace property.voidsetNillable(java.lang.Boolean value)Sets the value of the nillable property.voidsetReadOnly(java.lang.Boolean value)Sets the value of the readOnly property.voidsetRequired(java.lang.Boolean value)Sets the value of the required property.voidsetType(java.lang.String value)Sets the value of the type property.voidsetWriteOnly(java.lang.Boolean value)Sets the value of the writeOnly property.voidsetXmlAbstractNullPolicy(JAXBElement<? extends XmlAbstractNullPolicy> value)Sets the value of the xmlAbstractNullPolicy property.voidsetXmlAccessMethods(XmlAccessMethods value)Sets the value of the xmlAccessMethods property.voidsetXmlAttachmentRef(java.lang.Boolean value)Sets the value of the xmlAttachmentRef property.voidsetXmlElementWrapper(XmlElementWrapper value)Sets the value of the xmlElementWrapper property.voidsetXmlId(java.lang.Boolean value)Sets the value of the xmlId property.voidsetXmlIdref(java.lang.Boolean value)Sets the value of the xmlIdref property.voidsetXmlInlineBinaryData(java.lang.Boolean value)Sets the value of the xmlInlineBinaryData property.voidsetXmlInverseReference(XmlElement.XmlInverseReference value)Sets the value of the xmlInverseReference property.voidsetXmlJavaTypeAdapter(XmlJavaTypeAdapter value)Sets the value of the xmlJavaTypeAdapter property.voidsetXmlKey(java.lang.Boolean value)Sets the value of the xmlKey property.voidsetXmlList(java.lang.Boolean value)Sets the value of the xmlList property.voidsetXmlLocation(java.lang.Boolean value)Sets the value of the xmlLocation property.voidsetXmlMap(XmlMap value)Sets the value of the xmlMap property.voidsetXmlMimeType(java.lang.String value)Sets the value of the xmlMimeType property.voidsetXmlPath(java.lang.String value)Sets the value of the xmlPath property.voidsetXmlProperties(XmlProperties value)Sets the value of the xmlProperties property.voidsetXmlSchemaType(XmlSchemaType value)Sets the value of the xmlSchemaType property.-
Methods inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
getJavaAttribute, getXmlAccessorType, setJavaAttribute, setXmlAccessorType
-
-
-
-
Field Detail
-
xmlAbstractNullPolicy
protected JAXBElement<? extends XmlAbstractNullPolicy> xmlAbstractNullPolicy
-
xmlAccessMethods
protected XmlAccessMethods xmlAccessMethods
-
xmlElementWrapper
protected XmlElementWrapper xmlElementWrapper
-
xmlInverseReference
protected XmlElement.XmlInverseReference xmlInverseReference
-
xmlJavaTypeAdapter
protected XmlJavaTypeAdapter xmlJavaTypeAdapter
-
xmlMap
protected XmlMap xmlMap
-
xmlProperties
protected XmlProperties xmlProperties
-
xmlSchemaType
protected XmlSchemaType xmlSchemaType
-
name
protected java.lang.String name
-
namespace
protected java.lang.String namespace
-
defaultValue
protected java.lang.String defaultValue
-
nillable
protected java.lang.Boolean nillable
-
required
protected java.lang.Boolean required
-
containerType
protected java.lang.String containerType
-
type
protected java.lang.String type
-
xmlId
protected java.lang.Boolean xmlId
-
xmlIdref
protected java.lang.Boolean xmlIdref
-
xmlKey
protected java.lang.Boolean xmlKey
-
xmlList
protected java.lang.Boolean xmlList
-
xmlInlineBinaryData
protected java.lang.Boolean xmlInlineBinaryData
-
xmlAttachmentRef
protected java.lang.Boolean xmlAttachmentRef
-
xmlMimeType
protected java.lang.String xmlMimeType
-
readOnly
protected java.lang.Boolean readOnly
-
writeOnly
protected java.lang.Boolean writeOnly
-
cdata
protected java.lang.Boolean cdata
-
xmlPath
protected java.lang.String xmlPath
-
xmlLocation
protected java.lang.Boolean xmlLocation
-
-
Method Detail
-
getXmlAbstractNullPolicy
public JAXBElement<? extends XmlAbstractNullPolicy> getXmlAbstractNullPolicy()
Gets the value of the xmlAbstractNullPolicy property.- Returns:
- possible object is
JAXBElement<XmlNullPolicy>JAXBElement<XmlAbstractNullPolicy>JAXBElement<XmlIsSetNullPolicy>
-
setXmlAbstractNullPolicy
public void setXmlAbstractNullPolicy(JAXBElement<? extends XmlAbstractNullPolicy> value)
Sets the value of the xmlAbstractNullPolicy property.- Parameters:
value- allowed object isJAXBElement<XmlNullPolicy>JAXBElement<XmlAbstractNullPolicy>JAXBElement<XmlIsSetNullPolicy>
-
getXmlAccessMethods
public XmlAccessMethods getXmlAccessMethods()
Gets the value of the xmlAccessMethods property.- Returns:
- possible object is
XmlAccessMethods
-
setXmlAccessMethods
public void setXmlAccessMethods(XmlAccessMethods value)
Sets the value of the xmlAccessMethods property.- Parameters:
value- allowed object isXmlAccessMethods
-
getXmlElementWrapper
public XmlElementWrapper getXmlElementWrapper()
Gets the value of the xmlElementWrapper property.- Returns:
- possible object is
XmlElementWrapper
-
setXmlElementWrapper
public void setXmlElementWrapper(XmlElementWrapper value)
Sets the value of the xmlElementWrapper property.- Parameters:
value- allowed object isXmlElementWrapper
-
getXmlInverseReference
public XmlElement.XmlInverseReference getXmlInverseReference()
Gets the value of the xmlInverseReference property.- Returns:
- possible object is
XmlElement.XmlInverseReference
-
setXmlInverseReference
public void setXmlInverseReference(XmlElement.XmlInverseReference value)
Sets the value of the xmlInverseReference property.- Parameters:
value- allowed object isXmlElement.XmlInverseReference
-
getXmlJavaTypeAdapter
public XmlJavaTypeAdapter getXmlJavaTypeAdapter()
Gets the value of the xmlJavaTypeAdapter property.- Returns:
- possible object is
XmlJavaTypeAdapter
-
setXmlJavaTypeAdapter
public void setXmlJavaTypeAdapter(XmlJavaTypeAdapter value)
Sets the value of the xmlJavaTypeAdapter property.- Parameters:
value- allowed object isXmlJavaTypeAdapter
-
getXmlMap
public XmlMap getXmlMap()
Gets the value of the xmlMap property.- Returns:
- possible object is
XmlMap
-
setXmlMap
public void setXmlMap(XmlMap value)
Sets the value of the xmlMap property.- Parameters:
value- allowed object isXmlMap
-
getXmlProperties
public XmlProperties getXmlProperties()
Gets the value of the xmlProperties property.- Returns:
- possible object is
XmlProperties
-
setXmlProperties
public void setXmlProperties(XmlProperties value)
Sets the value of the xmlProperties property.- Parameters:
value- allowed object isXmlProperties
-
getXmlSchemaType
public XmlSchemaType getXmlSchemaType()
Gets the value of the xmlSchemaType property.- Returns:
- possible object is
XmlSchemaType
-
setXmlSchemaType
public void setXmlSchemaType(XmlSchemaType value)
Sets the value of the xmlSchemaType property.- Parameters:
value- allowed object isXmlSchemaType
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getNamespace
public java.lang.String getNamespace()
Gets the value of the namespace property.- Returns:
- possible object is
String
-
setNamespace
public void setNamespace(java.lang.String value)
Sets the value of the namespace property.- Parameters:
value- allowed object isString
-
getDefaultValue
public java.lang.String getDefaultValue()
Gets the value of the defaultValue property.- Returns:
- possible object is
String
-
setDefaultValue
public void setDefaultValue(java.lang.String value)
Sets the value of the defaultValue property.- Parameters:
value- allowed object isString
-
isNillable
public boolean isNillable()
Gets the value of the nillable property.- Returns:
- possible object is
Boolean
-
setNillable
public void setNillable(java.lang.Boolean value)
Sets the value of the nillable property.- Parameters:
value- allowed object isBoolean
-
isRequired
public boolean isRequired()
Gets the value of the required property.- Returns:
- possible object is
Boolean
-
setRequired
public void setRequired(java.lang.Boolean value)
Sets the value of the required property.- Parameters:
value- allowed object isBoolean
-
getContainerType
public java.lang.String getContainerType()
Gets the value of the containerType property.- Returns:
- possible object is
String
-
setContainerType
public void setContainerType(java.lang.String value)
Sets the value of the containerType property.- Parameters:
value- allowed object isString
-
getType
public java.lang.String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
isXmlId
public boolean isXmlId()
Gets the value of the xmlId property.- Returns:
- possible object is
Boolean
-
setXmlId
public void setXmlId(java.lang.Boolean value)
Sets the value of the xmlId property.- Parameters:
value- allowed object isBoolean
-
isXmlIdref
public boolean isXmlIdref()
Gets the value of the xmlIdref property.- Returns:
- possible object is
Boolean
-
setXmlIdref
public void setXmlIdref(java.lang.Boolean value)
Sets the value of the xmlIdref property.- Parameters:
value- allowed object isBoolean
-
isXmlKey
public boolean isXmlKey()
Gets the value of the xmlKey property.- Returns:
- possible object is
Boolean
-
setXmlKey
public void setXmlKey(java.lang.Boolean value)
Sets the value of the xmlKey property.- Parameters:
value- allowed object isBoolean
-
isXmlList
public boolean isXmlList()
Gets the value of the xmlList property.- Returns:
- possible object is
Boolean
-
setXmlList
public void setXmlList(java.lang.Boolean value)
Sets the value of the xmlList property.- Parameters:
value- allowed object isBoolean
-
isSetXmlList
public boolean isSetXmlList()
Indicates if xmlList has been set, i.e. is non-null.- Returns:
- true if xmlList is not null, false otherwise
-
isXmlInlineBinaryData
public boolean isXmlInlineBinaryData()
Gets the value of the xmlInlineBinaryData property.- Returns:
- possible object is
Boolean
-
setXmlInlineBinaryData
public void setXmlInlineBinaryData(java.lang.Boolean value)
Sets the value of the xmlInlineBinaryData property.- Parameters:
value- allowed object isBoolean
-
isXmlAttachmentRef
public boolean isXmlAttachmentRef()
Gets the value of the xmlAttachmentRef property.- Returns:
- possible object is
Boolean
-
setXmlAttachmentRef
public void setXmlAttachmentRef(java.lang.Boolean value)
Sets the value of the xmlAttachmentRef property.- Parameters:
value- allowed object isBoolean
-
getXmlMimeType
public java.lang.String getXmlMimeType()
Gets the value of the xmlMimeType property.- Returns:
- possible object is
String
-
setXmlMimeType
public void setXmlMimeType(java.lang.String value)
Sets the value of the xmlMimeType property.- Parameters:
value- allowed object isString
-
isReadOnly
public boolean isReadOnly()
Gets the value of the readOnly property.- Returns:
- possible object is
Boolean
-
setReadOnly
public void setReadOnly(java.lang.Boolean value)
Sets the value of the readOnly property.- Parameters:
value- allowed object isBoolean
-
isSetReadOnly
public boolean isSetReadOnly()
Indicates if the isReadOnly flag was set.- Returns:
-
isWriteOnly
public boolean isWriteOnly()
Gets the value of the writeOnly property.- Returns:
- possible object is
Boolean
-
setWriteOnly
public void setWriteOnly(java.lang.Boolean value)
Sets the value of the writeOnly property.- Parameters:
value- allowed object isBoolean
-
isSetWriteOnly
public boolean isSetWriteOnly()
Indicates if the isWriteOnly flag was set.- Returns:
-
isCdata
public boolean isCdata()
Gets the value of the cdata property.- Returns:
- possible object is
Boolean
-
setCdata
public void setCdata(java.lang.Boolean value)
Sets the value of the cdata property.- Parameters:
value- allowed object isBoolean
-
isSetCdata
public boolean isSetCdata()
Indicates if the cdata field has been set, i.e. is not null.- Returns:
- true if this.cdata is not null, false otherwise
-
getXmlPath
public java.lang.String getXmlPath()
Gets the value of the xmlPath property.- Returns:
- possible object is
String
-
setXmlPath
public void setXmlPath(java.lang.String value)
Sets the value of the xmlPath property.- Parameters:
value- allowed object isString
-
isXmlLocation
public boolean isXmlLocation()
Gets the value of the xmlLocation property.- Returns:
- possible object is
Boolean
-
setXmlLocation
public void setXmlLocation(java.lang.Boolean value)
Sets the value of the xmlLocation property.- Parameters:
value- allowed object isBoolean
-
-