EclipseLink 2.0.0, build 'v20091127-r5931' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlElement

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
      extended by 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-schema-type"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element-wrapper"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-java-type-adapter"/>
       </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="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-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" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String defaultValue
           
protected  java.lang.String name
           
protected  java.lang.String namespace
           
protected  java.lang.Boolean nillable
           
protected  java.lang.Boolean required
           
protected  java.lang.String type
           
protected  java.lang.Boolean xmlAttachmentRef
           
protected  XmlElementWrapper xmlElementWrapper
           
protected  java.lang.Boolean xmlId
           
protected  java.lang.Boolean xmlIdref
           
protected  java.lang.Boolean xmlInlineBinaryData
           
protected  XmlJavaTypeAdapter xmlJavaTypeAdapter
           
protected  java.lang.Boolean xmlList
           
protected  XmlMap xmlMap
           
protected  java.lang.String xmlMimeType
           
protected  XmlSchemaType xmlSchemaType
           
 
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute
 
Constructor Summary
XmlElement()
           
 
Method Summary
 java.lang.String getDefaultValue()
          Gets the value of the defaultValue 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.
 XmlElementWrapper getXmlElementWrapper()
          Gets the value of the xmlElementWrapper property.
 XmlJavaTypeAdapter getXmlJavaTypeAdapter()
          Gets the value of the xmlJavaTypeAdapter property.
 XmlMap getXmlMap()
          Gets the value of the xmlMap property.
 java.lang.String getXmlMimeType()
          Gets the value of the xmlMimeType property.
 XmlSchemaType getXmlSchemaType()
          Gets the value of the xmlSchemaType property.
 boolean isNillable()
          Gets the value of the nillable property.
 boolean isRequired()
          Gets the value of the required property.
 boolean isSetXmlList()
          Indicates if xmlList has been set, i.e. is non-null.
 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 isXmlList()
          Gets the value of the xmlList property.
 void setDefaultValue(java.lang.String value)
          Sets the value of the defaultValue 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 setNillable(java.lang.Boolean value)
          Sets the value of the nillable 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 setXmlAttachmentRef(java.lang.Boolean value)
          Sets the value of the xmlAttachmentRef property.
 void setXmlElementWrapper(XmlElementWrapper value)
          Sets the value of the xmlElementWrapper 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 setXmlList(java.lang.Boolean value)
          Sets the value of the xmlList property.
 void setXmlMap(XmlMap value)
          Sets the value of the xmlMap property.
 void setXmlMimeType(java.lang.String value)
          Sets the value of the xmlMimeType 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

xmlSchemaType

protected XmlSchemaType xmlSchemaType

xmlElementWrapper

protected XmlElementWrapper xmlElementWrapper

xmlJavaTypeAdapter

protected XmlJavaTypeAdapter xmlJavaTypeAdapter

xmlMap

protected XmlMap xmlMap

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

type

protected java.lang.String type

xmlId

protected java.lang.Boolean xmlId

xmlIdref

protected java.lang.Boolean xmlIdref

xmlList

protected java.lang.Boolean xmlList

xmlInlineBinaryData

protected java.lang.Boolean xmlInlineBinaryData

xmlAttachmentRef

protected java.lang.Boolean xmlAttachmentRef

xmlMimeType

protected java.lang.String xmlMimeType
Constructor Detail

XmlElement

public XmlElement()
Method Detail

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

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

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

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

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

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

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

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

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

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

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

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

EclipseLink 2.0.0, build 'v20091127-r5931' API Reference