Class XmlAttribute
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
org.eclipse.persistence.jaxb.xmlmodel.XmlAttribute
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-java-type-adapter" 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="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<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="container-type" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
<attribute name="xml-path" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy>protected XmlAccessMethodsprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected XmlJavaTypeAdapterprotected Booleanprotected Booleanprotected Stringprotected Stringprotected XmlPropertiesprotected XmlSchemaTypeFields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute, xmlAccessorType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the containerType 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 xmlJavaTypeAdapter 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.booleanGets the value of the readOnly property.booleanGets the value of the required property.booleanIndicates if the isReadOnly flag was set.booleanIndicates if the required flag was set via external metadata.booleanIndicates if the isWriteOnly flag was set.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.voidsetContainerType(String value) Sets the value of the containerType property.voidSets the value of the name property.voidsetNamespace(String value) Sets the value of the namespace 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 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 xmlJavaTypeAdapter property.voidSets the value of the xmlKey property.voidsetXmlList(Boolean value) Sets the value of the xmlList 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.JavaAttribute
getJavaAttribute, getXmlAccessorType, setJavaAttribute, setXmlAccessorType
-
Field Details
-
xmlAbstractNullPolicy
-
xmlAccessMethods
-
xmlJavaTypeAdapter
-
xmlProperties
-
xmlSchemaType
-
name
-
namespace
-
required
-
xmlId
-
xmlIdref
-
xmlKey
-
xmlList
-
xmlInlineBinaryData
-
xmlAttachmentRef
-
xmlMimeType
-
readOnly
-
writeOnly
-
containerType
-
type
-
xmlPath
-
-
Constructor Details
-
XmlAttribute
public XmlAttribute()
-
-
Method Details
-
getXmlAbstractNullPolicy
Gets the value of the xmlAbstractNullPolicy property.- Returns:
- possible object is
JAXBElement<XmlNullPolicy>JAXBElement<XmlAbstractNullPolicy>JAXBElement<XmlIsSetNullPolicy>
-
setXmlAbstractNullPolicy
public void setXmlAbstractNullPolicy(jakarta.xml.bind.JAXBElement<? extends XmlAbstractNullPolicy> value) Sets the value of the xmlAbstractNullPolicy property.- Parameters:
value- allowed object isJAXBElement<XmlNullPolicy>JAXBElement<XmlAbstractNullPolicy>JAXBElement<XmlIsSetNullPolicy>
-
getXmlAccessMethods
Gets the value of the xmlAccessMethods property.- Returns:
- possible object is
XmlAccessMethods
-
setXmlAccessMethods
Sets the value of the xmlAccessMethods property.- Parameters:
value- allowed object isXmlAccessMethods
-
getXmlJavaTypeAdapter
Gets the value of the xmlJavaTypeAdapter property.- Returns:
- possible object is
XmlJavaTypeAdapter
-
setXmlJavaTypeAdapter
Sets the value of the xmlJavaTypeAdapter property.- Parameters:
value- allowed object isXmlJavaTypeAdapter
-
getXmlProperties
Gets the value of the xmlProperties property.- Returns:
- possible object is
XmlProperties
-
setXmlProperties
Sets the value of the xmlProperties property.- Parameters:
value- allowed object isXmlProperties
-
getXmlSchemaType
Gets the value of the xmlSchemaType property.- Returns:
- possible object is
XmlSchemaType
-
setXmlSchemaType
Sets the value of the xmlSchemaType property.- Parameters:
value- allowed object isXmlSchemaType
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getNamespace
Gets the value of the namespace property.- Returns:
- possible object is
String
-
setNamespace
Sets the value of the namespace property.- Parameters:
value- allowed object isString
-
isSetRequired
public boolean isSetRequired()Indicates if the required flag was set via external metadata.- Returns:
-
isRequired
public boolean isRequired()Gets the value of the required property.- Returns:
- possible object is
Boolean
-
setRequired
Sets the value of the required property.- Parameters:
value- allowed object isBoolean
-
isXmlId
public boolean isXmlId()Gets the value of the xmlId property.- Returns:
- possible object is
Boolean
-
setXmlId
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
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
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
Sets the value of the xmlList property.- Parameters:
value- allowed object isBoolean
-
isXmlInlineBinaryData
public boolean isXmlInlineBinaryData()Gets the value of the xmlInlineBinaryData property.- Returns:
- possible object is
Boolean
-
setXmlInlineBinaryData
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
Sets the value of the xmlAttachmentRef property.- Parameters:
value- allowed object isBoolean
-
getXmlMimeType
Gets the value of the xmlMimeType property.- Returns:
- possible object is
String
-
setXmlMimeType
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
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
Sets the value of the writeOnly property.- Parameters:
value- allowed object isBoolean
-
isSetWriteOnly
public boolean isSetWriteOnly()Indicates if the isWriteOnly flag was set.- Returns:
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getXmlPath
Gets the value of the xmlPath property.- Returns:
- possible object is
String
-
setXmlPath
Sets the value of the xmlPath property.- Parameters:
value- allowed object isString
-
getContainerType
Gets the value of the containerType property.- Returns:
- possible object is
String
-
setContainerType
Sets the value of the containerType property.- Parameters:
value- allowed object isString
-