Class XmlElement
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
org.eclipse.persistence.jaxb.xmlmodel.XmlElement
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="jakarta.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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy>protected XmlAccessMethodsprotected Booleanprotected XmlElementWrapperprotected Booleanprotected Booleanprotected Booleanprotected XmlElement.XmlInverseReferenceprotected XmlJavaTypeAdapterprotected Booleanprotected Booleanprotected Booleanprotected XmlMapprotected Stringprotected Stringprotected XmlPropertiesprotected XmlSchemaTypeFields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttributejavaAttribute, xmlAccessorType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the value of the containerType property.Gets the value of the defaultValue property.getName()Gets the value of the name property.Gets the value of the namespace property.getType()Gets the value of the type property.jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy>Gets the value of the xmlAbstractNullPolicy property.Gets the value of the xmlAccessMethods property.Gets the value of the xmlElementWrapper property.Gets the value of the xmlInverseReference property.Gets the value of the xmlJavaTypeAdapter property.Gets the value of the xmlMap property.Gets the value of the xmlMimeType property.Gets the value of the xmlPath property.Gets the value of the xmlProperties property.Gets the value of the xmlSchemaType property.booleanisCdata()Gets the value of the cdata property.booleanGets the value of the nillable property.booleanGets the value of the readOnly property.booleanGets the value of the required property.booleanIndicates if the cdata field has been set, i.e.booleanIndicates if the isReadOnly flag was set.booleanIndicates if the isWriteOnly flag was set.booleanIndicates if xmlList has been set, i.e.booleanGets the value of the writeOnly property.booleanGets the value of the xmlAttachmentRef property.booleanisXmlId()Gets the value of the xmlId property.booleanGets the value of the xmlIdref property.booleanGets the value of the xmlInlineBinaryData property.booleanisXmlKey()Gets the value of the xmlKey property.booleanGets the value of the xmlList property.booleanGets the value of the xmlLocation property.voidSets the value of the cdata property.voidsetContainerType(String value) Sets the value of the containerType property.voidsetDefaultValue(String value) Sets the value of the defaultValue property.voidSets the value of the name property.voidsetNamespace(String value) Sets the value of the namespace property.voidsetNillable(Boolean value) Sets the value of the nillable property.voidsetReadOnly(Boolean value) Sets the value of the readOnly property.voidsetRequired(Boolean value) Sets the value of the required property.voidSets the value of the type property.voidsetWriteOnly(Boolean value) Sets the value of the writeOnly property.voidsetXmlAbstractNullPolicy(jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> value) Sets the value of the xmlAbstractNullPolicy property.voidSets the value of the xmlAccessMethods property.voidsetXmlAttachmentRef(Boolean value) Sets the value of the xmlAttachmentRef property.voidSets the value of the xmlElementWrapper property.voidSets the value of the xmlId property.voidsetXmlIdref(Boolean value) Sets the value of the xmlIdref property.voidsetXmlInlineBinaryData(Boolean value) Sets the value of the xmlInlineBinaryData property.voidSets the value of the xmlInverseReference property.voidSets the value of the xmlJavaTypeAdapter property.voidSets the value of the xmlKey property.voidsetXmlList(Boolean value) Sets the value of the xmlList property.voidsetXmlLocation(Boolean value) Sets the value of the xmlLocation property.voidSets the value of the xmlMap property.voidsetXmlMimeType(String value) Sets the value of the xmlMimeType property.voidsetXmlPath(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.JavaAttributegetJavaAttribute, getXmlAccessorType, setJavaAttribute, setXmlAccessorType
- 
Field Details- 
xmlAbstractNullPolicy
- 
xmlAccessMethods
- 
xmlElementWrapper
- 
xmlInverseReference
- 
xmlJavaTypeAdapter
- 
xmlMap
- 
xmlProperties
- 
xmlSchemaType
- 
name
- 
namespace
- 
defaultValue
- 
nillable
- 
required
- 
containerType
- 
type
- 
xmlId
- 
xmlIdref
- 
xmlKey
- 
xmlList
- 
xmlInlineBinaryData
- 
xmlAttachmentRef
- 
xmlMimeType
- 
readOnly
- 
writeOnly
- 
cdata
- 
xmlPath
- 
xmlLocation
 
- 
- 
Constructor Details- 
XmlElementpublic XmlElement()
 
- 
- 
Method Details- 
getXmlAbstractNullPolicyGets the value of the xmlAbstractNullPolicy property.- Returns:
- possible object is
     JAXBElement<XmlNullPolicy>JAXBElement<XmlAbstractNullPolicy>JAXBElement<XmlIsSetNullPolicy>
 
- 
setXmlAbstractNullPolicypublic void setXmlAbstractNullPolicy(jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> value) Sets the value of the xmlAbstractNullPolicy property.- Parameters:
- value- allowed object is- JAXBElement- <- XmlNullPolicy- >- JAXBElement- <- XmlAbstractNullPolicy- >- JAXBElement- <- XmlIsSetNullPolicy- >
 
- 
getXmlAccessMethodsGets the value of the xmlAccessMethods property.- Returns:
- possible object is
     XmlAccessMethods
 
- 
setXmlAccessMethodsSets the value of the xmlAccessMethods property.- Parameters:
- value- allowed object is- XmlAccessMethods
 
- 
getXmlElementWrapperGets the value of the xmlElementWrapper property.- Returns:
- possible object is
     XmlElementWrapper
 
- 
setXmlElementWrapperSets the value of the xmlElementWrapper property.- Parameters:
- value- allowed object is- XmlElementWrapper
 
- 
getXmlInverseReferenceGets the value of the xmlInverseReference property.- Returns:
- possible object is
     XmlElement.XmlInverseReference
 
- 
setXmlInverseReferenceSets the value of the xmlInverseReference property.- Parameters:
- value- allowed object is- XmlElement.XmlInverseReference
 
- 
getXmlJavaTypeAdapterGets the value of the xmlJavaTypeAdapter property.- Returns:
- possible object is
     XmlJavaTypeAdapter
 
- 
setXmlJavaTypeAdapterSets the value of the xmlJavaTypeAdapter property.- Parameters:
- value- allowed object is- XmlJavaTypeAdapter
 
- 
getXmlMapGets the value of the xmlMap property.- Returns:
- possible object is
     XmlMap
 
- 
setXmlMapSets the value of the xmlMap property.- Parameters:
- value- allowed object is- XmlMap
 
- 
getXmlPropertiesGets the value of the xmlProperties property.- Returns:
- possible object is
     XmlProperties
 
- 
setXmlPropertiesSets the value of the xmlProperties property.- Parameters:
- value- allowed object is- XmlProperties
 
- 
getXmlSchemaTypeGets the value of the xmlSchemaType property.- Returns:
- possible object is
     XmlSchemaType
 
- 
setXmlSchemaTypeSets the value of the xmlSchemaType property.- Parameters:
- value- allowed object is- XmlSchemaType
 
- 
getNameGets the value of the name property.- Returns:
- possible object is
     String
 
- 
setNameSets the value of the name property.- Parameters:
- value- allowed object is- String
 
- 
getNamespaceGets the value of the namespace property.- Returns:
- possible object is
     String
 
- 
setNamespaceSets the value of the namespace property.- Parameters:
- value- allowed object is- String
 
- 
getDefaultValueGets the value of the defaultValue property.- Returns:
- possible object is
     String
 
- 
setDefaultValueSets the value of the defaultValue property.- Parameters:
- value- allowed object is- String
 
- 
isNillablepublic boolean isNillable()Gets the value of the nillable property.- Returns:
- possible object is
     Boolean
 
- 
setNillableSets the value of the nillable property.- Parameters:
- value- allowed object is- Boolean
 
- 
isRequiredpublic boolean isRequired()Gets the value of the required property.- Returns:
- possible object is
     Boolean
 
- 
setRequiredSets the value of the required property.- Parameters:
- value- allowed object is- Boolean
 
- 
getContainerTypeGets the value of the containerType property.- Returns:
- possible object is
     String
 
- 
setContainerTypeSets the value of the containerType property.- Parameters:
- value- allowed object is- String
 
- 
getTypeGets the value of the type property.- Returns:
- possible object is
     String
 
- 
setTypeSets the value of the type property.- Parameters:
- value- allowed object is- String
 
- 
isXmlIdpublic boolean isXmlId()Gets the value of the xmlId property.- Returns:
- possible object is
     Boolean
 
- 
setXmlIdSets the value of the xmlId property.- Parameters:
- value- allowed object is- Boolean
 
- 
isXmlIdrefpublic boolean isXmlIdref()Gets the value of the xmlIdref property.- Returns:
- possible object is
     Boolean
 
- 
setXmlIdrefSets the value of the xmlIdref property.- Parameters:
- value- allowed object is- Boolean
 
- 
isXmlKeypublic boolean isXmlKey()Gets the value of the xmlKey property.- Returns:
- possible object is
     Boolean
 
- 
setXmlKeySets the value of the xmlKey property.- Parameters:
- value- allowed object is- Boolean
 
- 
isXmlListpublic boolean isXmlList()Gets the value of the xmlList property.- Returns:
- possible object is
     Boolean
 
- 
setXmlListSets the value of the xmlList property.- Parameters:
- value- allowed object is- Boolean
 
- 
isSetXmlListpublic boolean isSetXmlList()Indicates if xmlList has been set, i.e. is non-null.- Returns:
- true if xmlList is not null, false otherwise
 
- 
isXmlInlineBinaryDatapublic boolean isXmlInlineBinaryData()Gets the value of the xmlInlineBinaryData property.- Returns:
- possible object is
     Boolean
 
- 
setXmlInlineBinaryDataSets the value of the xmlInlineBinaryData property.- Parameters:
- value- allowed object is- Boolean
 
- 
isXmlAttachmentRefpublic boolean isXmlAttachmentRef()Gets the value of the xmlAttachmentRef property.- Returns:
- possible object is
     Boolean
 
- 
setXmlAttachmentRefSets the value of the xmlAttachmentRef property.- Parameters:
- value- allowed object is- Boolean
 
- 
getXmlMimeTypeGets the value of the xmlMimeType property.- Returns:
- possible object is
     String
 
- 
setXmlMimeTypeSets the value of the xmlMimeType property.- Parameters:
- value- allowed object is- String
 
- 
isReadOnlypublic boolean isReadOnly()Gets the value of the readOnly property.- Returns:
- possible object is
     Boolean
 
- 
setReadOnlySets the value of the readOnly property.- Parameters:
- value- allowed object is- Boolean
 
- 
isSetReadOnlypublic boolean isSetReadOnly()Indicates if the isReadOnly flag was set.- Returns:
 
- 
isWriteOnlypublic boolean isWriteOnly()Gets the value of the writeOnly property.- Returns:
- possible object is
     Boolean
 
- 
setWriteOnlySets the value of the writeOnly property.- Parameters:
- value- allowed object is- Boolean
 
- 
isSetWriteOnlypublic boolean isSetWriteOnly()Indicates if the isWriteOnly flag was set.- Returns:
 
- 
isCdatapublic boolean isCdata()Gets the value of the cdata property.- Returns:
- possible object is
     Boolean
 
- 
setCdataSets the value of the cdata property.- Parameters:
- value- allowed object is- Boolean
 
- 
isSetCdatapublic 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
 
- 
getXmlPathGets the value of the xmlPath property.- Returns:
- possible object is
     String
 
- 
setXmlPathSets the value of the xmlPath property.- Parameters:
- value- allowed object is- String
 
- 
isXmlLocationpublic boolean isXmlLocation()Gets the value of the xmlLocation property.- Returns:
- possible object is
     Boolean
 
- 
setXmlLocationSets the value of the xmlLocation property.- Parameters:
- value- allowed object is- Boolean
 
 
-