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="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>
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlElement.XmlInverseReference
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
cdata |
protected String |
containerType |
protected String |
defaultValue |
protected String |
name |
protected String |
namespace |
protected Boolean |
nillable |
protected Boolean |
readOnly |
protected Boolean |
required |
protected String |
type |
protected Boolean |
writeOnly |
protected jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> |
xmlAbstractNullPolicy |
protected XmlAccessMethods |
xmlAccessMethods |
protected Boolean |
xmlAttachmentRef |
protected XmlElementWrapper |
xmlElementWrapper |
protected Boolean |
xmlId |
protected Boolean |
xmlIdref |
protected Boolean |
xmlInlineBinaryData |
protected XmlElement.XmlInverseReference |
xmlInverseReference |
protected XmlJavaTypeAdapter |
xmlJavaTypeAdapter |
protected Boolean |
xmlKey |
protected Boolean |
xmlList |
protected Boolean |
xmlLocation |
protected XmlMap |
xmlMap |
protected String |
xmlMimeType |
protected String |
xmlPath |
protected XmlProperties |
xmlProperties |
protected XmlSchemaType |
xmlSchemaType |
javaAttribute, xmlAccessorType| Constructor and Description |
|---|
XmlElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerType()
Gets the value of the containerType property.
|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNamespace()
Gets the value of the namespace property.
|
String |
getType()
Gets the value of the type property.
|
jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> |
getXmlAbstractNullPolicy()
Gets the value of the xmlAbstractNullPolicy property.
|
XmlAccessMethods |
getXmlAccessMethods()
Gets the value of the xmlAccessMethods property.
|
XmlElementWrapper |
getXmlElementWrapper()
Gets the value of the xmlElementWrapper property.
|
XmlElement.XmlInverseReference |
getXmlInverseReference()
Gets the value of the xmlInverseReference property.
|
XmlJavaTypeAdapter |
getXmlJavaTypeAdapter()
Gets the value of the xmlJavaTypeAdapter property.
|
XmlMap |
getXmlMap()
Gets the value of the xmlMap property.
|
String |
getXmlMimeType()
Gets the value of the xmlMimeType property.
|
String |
getXmlPath()
Gets the value of the xmlPath property.
|
XmlProperties |
getXmlProperties()
Gets the value of the xmlProperties property.
|
XmlSchemaType |
getXmlSchemaType()
Gets the value of the xmlSchemaType property.
|
boolean |
isCdata()
Gets the value of the cdata property.
|
boolean |
isNillable()
Gets the value of the nillable property.
|
boolean |
isReadOnly()
Gets the value of the readOnly property.
|
boolean |
isRequired()
Gets the value of the required property.
|
boolean |
isSetCdata()
Indicates if the cdata field has been set, i.e.
|
boolean |
isSetReadOnly()
Indicates if the isReadOnly flag was set.
|
boolean |
isSetWriteOnly()
Indicates if the isWriteOnly flag was set.
|
boolean |
isSetXmlList()
Indicates if xmlList has been set, i.e.
|
boolean |
isWriteOnly()
Gets the value of the writeOnly property.
|
boolean |
isXmlAttachmentRef()
Gets the value of the xmlAttachmentRef property.
|
boolean |
isXmlId()
Gets the value of the xmlId property.
|
boolean |
isXmlIdref()
Gets the value of the xmlIdref property.
|
boolean |
isXmlInlineBinaryData()
Gets the value of the xmlInlineBinaryData property.
|
boolean |
isXmlKey()
Gets the value of the xmlKey property.
|
boolean |
isXmlList()
Gets the value of the xmlList property.
|
boolean |
isXmlLocation()
Gets the value of the xmlLocation property.
|
void |
setCdata(Boolean value)
Sets the value of the cdata property.
|
void |
setContainerType(String value)
Sets the value of the containerType property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNamespace(String value)
Sets the value of the namespace property.
|
void |
setNillable(Boolean value)
Sets the value of the nillable property.
|
void |
setReadOnly(Boolean value)
Sets the value of the readOnly property.
|
void |
setRequired(Boolean value)
Sets the value of the required property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setWriteOnly(Boolean value)
Sets the value of the writeOnly property.
|
void |
setXmlAbstractNullPolicy(jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> value)
Sets the value of the xmlAbstractNullPolicy property.
|
void |
setXmlAccessMethods(XmlAccessMethods value)
Sets the value of the xmlAccessMethods property.
|
void |
setXmlAttachmentRef(Boolean value)
Sets the value of the xmlAttachmentRef property.
|
void |
setXmlElementWrapper(XmlElementWrapper value)
Sets the value of the xmlElementWrapper property.
|
void |
setXmlId(Boolean value)
Sets the value of the xmlId property.
|
void |
setXmlIdref(Boolean value)
Sets the value of the xmlIdref property.
|
void |
setXmlInlineBinaryData(Boolean value)
Sets the value of the xmlInlineBinaryData property.
|
void |
setXmlInverseReference(XmlElement.XmlInverseReference value)
Sets the value of the xmlInverseReference property.
|
void |
setXmlJavaTypeAdapter(XmlJavaTypeAdapter value)
Sets the value of the xmlJavaTypeAdapter property.
|
void |
setXmlKey(Boolean value)
Sets the value of the xmlKey property.
|
void |
setXmlList(Boolean value)
Sets the value of the xmlList property.
|
void |
setXmlLocation(Boolean value)
Sets the value of the xmlLocation property.
|
void |
setXmlMap(XmlMap value)
Sets the value of the xmlMap property.
|
void |
setXmlMimeType(String value)
Sets the value of the xmlMimeType property.
|
void |
setXmlPath(String value)
Sets the value of the xmlPath property.
|
void |
setXmlProperties(XmlProperties value)
Sets the value of the xmlProperties property.
|
void |
setXmlSchemaType(XmlSchemaType value)
Sets the value of the xmlSchemaType property.
|
getJavaAttribute, getXmlAccessorType, setJavaAttribute, setXmlAccessorTypeprotected jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> xmlAbstractNullPolicy
protected XmlAccessMethods xmlAccessMethods
protected XmlElementWrapper xmlElementWrapper
protected XmlElement.XmlInverseReference xmlInverseReference
protected XmlJavaTypeAdapter xmlJavaTypeAdapter
protected XmlMap xmlMap
protected XmlProperties xmlProperties
protected XmlSchemaType xmlSchemaType
protected String name
protected String namespace
protected String defaultValue
protected Boolean nillable
protected Boolean required
protected String containerType
protected String type
protected Boolean xmlId
protected Boolean xmlIdref
protected Boolean xmlKey
protected Boolean xmlList
protected Boolean xmlInlineBinaryData
protected Boolean xmlAttachmentRef
protected String xmlMimeType
protected Boolean readOnly
protected Boolean writeOnly
protected Boolean cdata
protected String xmlPath
protected Boolean xmlLocation
public jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> getXmlAbstractNullPolicy()
JAXBElement<XmlNullPolicy>
JAXBElement<XmlAbstractNullPolicy>
JAXBElement<XmlIsSetNullPolicy>public void setXmlAbstractNullPolicy(jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> value)
value - allowed object is
JAXBElement<XmlNullPolicy>
JAXBElement<XmlAbstractNullPolicy>
JAXBElement<XmlIsSetNullPolicy>public XmlAccessMethods getXmlAccessMethods()
XmlAccessMethodspublic void setXmlAccessMethods(XmlAccessMethods value)
value - allowed object is
XmlAccessMethodspublic XmlElementWrapper getXmlElementWrapper()
XmlElementWrapperpublic void setXmlElementWrapper(XmlElementWrapper value)
value - allowed object is
XmlElementWrapperpublic XmlElement.XmlInverseReference getXmlInverseReference()
XmlElement.XmlInverseReferencepublic void setXmlInverseReference(XmlElement.XmlInverseReference value)
value - allowed object is
XmlElement.XmlInverseReferencepublic XmlJavaTypeAdapter getXmlJavaTypeAdapter()
XmlJavaTypeAdapterpublic void setXmlJavaTypeAdapter(XmlJavaTypeAdapter value)
value - allowed object is
XmlJavaTypeAdapterpublic XmlMap getXmlMap()
XmlMappublic void setXmlMap(XmlMap value)
value - allowed object is
XmlMappublic XmlProperties getXmlProperties()
XmlPropertiespublic void setXmlProperties(XmlProperties value)
value - allowed object is
XmlPropertiespublic XmlSchemaType getXmlSchemaType()
XmlSchemaTypepublic void setXmlSchemaType(XmlSchemaType value)
value - allowed object is
XmlSchemaTypepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNamespace()
Stringpublic void setNamespace(String value)
value - allowed object is
Stringpublic String getDefaultValue()
Stringpublic void setDefaultValue(String value)
value - allowed object is
Stringpublic boolean isNillable()
Booleanpublic void setNillable(Boolean value)
value - allowed object is
Booleanpublic boolean isRequired()
Booleanpublic void setRequired(Boolean value)
value - allowed object is
Booleanpublic String getContainerType()
Stringpublic void setContainerType(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isXmlId()
Booleanpublic void setXmlId(Boolean value)
value - allowed object is
Booleanpublic boolean isXmlIdref()
Booleanpublic void setXmlIdref(Boolean value)
value - allowed object is
Booleanpublic boolean isXmlKey()
Booleanpublic void setXmlKey(Boolean value)
value - allowed object is
Booleanpublic boolean isXmlList()
Booleanpublic void setXmlList(Boolean value)
value - allowed object is
Booleanpublic boolean isSetXmlList()
public boolean isXmlInlineBinaryData()
Booleanpublic void setXmlInlineBinaryData(Boolean value)
value - allowed object is
Booleanpublic boolean isXmlAttachmentRef()
Booleanpublic void setXmlAttachmentRef(Boolean value)
value - allowed object is
Booleanpublic String getXmlMimeType()
Stringpublic void setXmlMimeType(String value)
value - allowed object is
Stringpublic boolean isReadOnly()
Booleanpublic void setReadOnly(Boolean value)
value - allowed object is
Booleanpublic boolean isSetReadOnly()
public boolean isWriteOnly()
Booleanpublic void setWriteOnly(Boolean value)
value - allowed object is
Booleanpublic boolean isSetWriteOnly()
public boolean isCdata()
Booleanpublic void setCdata(Boolean value)
value - allowed object is
Booleanpublic boolean isSetCdata()
public String getXmlPath()
Stringpublic void setXmlPath(String value)
value - allowed object is
Stringpublic boolean isXmlLocation()
BooleanCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.