EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlAttribute

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
      extended by org.eclipse.persistence.jaxb.xmlmodel.XmlAttribute

public class XmlAttribute
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-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
protected  java.lang.String containerType
           
protected  java.lang.String name
           
protected  java.lang.String namespace
           
protected  java.lang.Boolean readOnly
           
protected  java.lang.Boolean required
           
protected  java.lang.String type
           
protected  java.lang.Boolean writeOnly
           
protected  JAXBElement<? extends XmlAbstractNullPolicy> xmlAbstractNullPolicy
           
protected  XmlAccessMethods xmlAccessMethods
           
protected  java.lang.Boolean xmlAttachmentRef
           
protected  java.lang.Boolean xmlId
           
protected  java.lang.Boolean xmlIdref
           
protected  java.lang.Boolean xmlInlineBinaryData
           
protected  XmlJavaTypeAdapter xmlJavaTypeAdapter
           
protected  java.lang.Boolean xmlKey
           
protected  java.lang.Boolean xmlList
           
protected  java.lang.String xmlMimeType
           
protected  java.lang.String xmlPath
           
protected  XmlProperties xmlProperties
           
protected  XmlSchemaType xmlSchemaType
           
 
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute
 
Constructor Summary
XmlAttribute()
           
 
Method Summary
 java.lang.String getContainerType()
          Gets the value of the containerType property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getNamespace()
          Gets the value of the namespace property.
 java.lang.String getType()
          Gets the value of the type property.
 JAXBElement<? extends XmlAbstractNullPolicy> getXmlAbstractNullPolicy()
          Gets the value of the xmlAbstractNullPolicy property.
 XmlAccessMethods getXmlAccessMethods()
          Gets the value of the xmlAccessMethods property.
 XmlJavaTypeAdapter getXmlJavaTypeAdapter()
          Gets the value of the xmlJavaTypeAdapter property.
 java.lang.String getXmlMimeType()
          Gets the value of the xmlMimeType property.
 java.lang.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 isReadOnly()
          Gets the value of the readOnly property.
 boolean isRequired()
          Gets the value of the required property.
 boolean isSetReadOnly()
          Indicates if the isReadOnly flag was set.
 boolean isSetRequired()
          Indicates if the required flag was set via external metadata.
 boolean isSetWriteOnly()
          Indicates if the isWriteOnly flag was set.
 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.
 void setContainerType(java.lang.String value)
          Sets the value of the containerType property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNamespace(java.lang.String value)
          Sets the value of the namespace property.
 void setReadOnly(java.lang.Boolean value)
          Sets the value of the readOnly property.
 void setRequired(java.lang.Boolean value)
          Sets the value of the required property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void setWriteOnly(java.lang.Boolean value)
          Sets the value of the writeOnly property.
 void setXmlAbstractNullPolicy(JAXBElement<? extends XmlAbstractNullPolicy> value)
          Sets the value of the xmlAbstractNullPolicy property.
 void setXmlAccessMethods(XmlAccessMethods value)
          Sets the value of the xmlAccessMethods property.
 void setXmlAttachmentRef(java.lang.Boolean value)
          Sets the value of the xmlAttachmentRef property.
 void setXmlId(java.lang.Boolean value)
          Sets the value of the xmlId property.
 void setXmlIdref(java.lang.Boolean value)
          Sets the value of the xmlIdref property.
 void setXmlInlineBinaryData(java.lang.Boolean value)
          Sets the value of the xmlInlineBinaryData property.
 void setXmlJavaTypeAdapter(XmlJavaTypeAdapter value)
          Sets the value of the xmlJavaTypeAdapter property.
 void setXmlKey(java.lang.Boolean value)
          Sets the value of the xmlKey property.
 void setXmlList(java.lang.Boolean value)
          Sets the value of the xmlList property.
 void setXmlMimeType(java.lang.String value)
          Sets the value of the xmlMimeType property.
 void setXmlPath(java.lang.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.
 
Methods inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
getJavaAttribute, setJavaAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlAbstractNullPolicy

protected JAXBElement<? extends XmlAbstractNullPolicy> xmlAbstractNullPolicy

xmlAccessMethods

protected XmlAccessMethods xmlAccessMethods

xmlJavaTypeAdapter

protected XmlJavaTypeAdapter xmlJavaTypeAdapter

xmlProperties

protected XmlProperties xmlProperties

xmlSchemaType

protected XmlSchemaType xmlSchemaType

name

protected java.lang.String name

namespace

protected java.lang.String namespace

required

protected java.lang.Boolean required

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

containerType

protected java.lang.String containerType

type

protected java.lang.String type

xmlPath

protected java.lang.String xmlPath
Constructor Detail

XmlAttribute

public XmlAttribute()
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 is JAXBElement<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 is XmlAccessMethods

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 is XmlJavaTypeAdapter

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 is XmlProperties

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 is XmlSchemaType

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 is String

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 is String

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

public void setRequired(java.lang.Boolean value)
Sets the value of the required property.

Parameters:
value - allowed object is Boolean

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 is Boolean

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 is Boolean

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 is Boolean

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 is Boolean

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 is Boolean

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 is Boolean

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 is String

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 is Boolean

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 is Boolean

isSetWriteOnly

public boolean isSetWriteOnly()
Indicates if the isWriteOnly flag was set.

Returns:

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 is String

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 is String

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 is String

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference