EclipseLink 2.0.0, build 'v20091127-r5931' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class JavaType

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.JavaType

public class JavaType
extends java.lang.Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-type"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-root-element"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-see-also"/>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-java-type-adapter"/>
         <element name="java-attributes">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}java-attribute" maxOccurs="unbounded"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </all>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="xml-transient" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="xml-customizer" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="xml-accessor-type" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-access-type" default="PUBLIC_MEMBER" />
       <attribute name="xml-accessor-order" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-access-order" default="UNDEFINED" />
       <attribute name="xml-inline-binary-data" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class JavaType.JavaAttributes
          Java class for anonymous complex type.
 
Field Summary
protected  JavaType.JavaAttributes javaAttributes
           
protected  java.lang.String name
           
protected  XmlAccessOrder xmlAccessorOrder
           
protected  XmlAccessType xmlAccessorType
           
protected  java.lang.String xmlCustomizer
           
protected  java.lang.Boolean xmlInlineBinaryData
           
protected  XmlJavaTypeAdapter xmlJavaTypeAdapter
           
protected  XmlRootElement xmlRootElement
           
protected  java.util.List<java.lang.String> xmlSeeAlso
           
protected  java.lang.Boolean xmlTransient
           
protected  XmlType xmlType
           
 
Constructor Summary
JavaType()
           
 
Method Summary
 JavaType.JavaAttributes getJavaAttributes()
          Gets the value of the javaAttributes property.
 java.lang.String getName()
          Gets the value of the name property.
 XmlAccessOrder getXmlAccessorOrder()
          Gets the value of the xmlAccessorOrder property.
 XmlAccessType getXmlAccessorType()
          Gets the value of the xmlAccessorType property.
 java.lang.String getXmlCustomizer()
          Gets the value of the xmlCustomizer property.
 XmlJavaTypeAdapter getXmlJavaTypeAdapter()
          Gets the value of the xmlJavaTypeAdapter property.
 XmlRootElement getXmlRootElement()
          Gets the value of the xmlRootElement property.
 java.util.List<java.lang.String> getXmlSeeAlso()
          Gets the value of the xmlSeeAlso property.
 XmlType getXmlType()
          Gets the value of the xmlType property.
 boolean isSetXmlAccessorOrder()
          Indicates if xmlAccessorOrder has been set, i.e. is non-null.
 boolean isSetXmlAccessorType()
          Indicates if xmlAccessorType has been set, i.e. is non-null.
 boolean isSetXmlTransient()
          Indicates if xmlTransient has been set, i.e. is non-null.
 boolean isXmlInlineBinaryData()
          Gets the value of the xmlInlineBinaryData property.
 boolean isXmlTransient()
          Gets the value of the xmlTransient property.
 void setJavaAttributes(JavaType.JavaAttributes value)
          Sets the value of the javaAttributes property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setXmlAccessorOrder(XmlAccessOrder value)
          Sets the value of the xmlAccessorOrder property.
 void setXmlAccessorType(XmlAccessType value)
          Sets the value of the xmlAccessorType property.
 void setXmlCustomizer(java.lang.String value)
          Sets the value of the xmlCustomizer 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 setXmlRootElement(XmlRootElement value)
          Sets the value of the xmlRootElement property.
 void setXmlTransient(java.lang.Boolean value)
          Sets the value of the xmlTransient property.
 void setXmlType(XmlType value)
          Sets the value of the xmlType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlType

protected XmlType xmlType

xmlRootElement

protected XmlRootElement xmlRootElement

xmlSeeAlso

protected java.util.List<java.lang.String> xmlSeeAlso

xmlJavaTypeAdapter

protected XmlJavaTypeAdapter xmlJavaTypeAdapter

javaAttributes

protected JavaType.JavaAttributes javaAttributes

name

protected java.lang.String name

xmlTransient

protected java.lang.Boolean xmlTransient

xmlCustomizer

protected java.lang.String xmlCustomizer

xmlAccessorType

protected XmlAccessType xmlAccessorType

xmlAccessorOrder

protected XmlAccessOrder xmlAccessorOrder

xmlInlineBinaryData

protected java.lang.Boolean xmlInlineBinaryData
Constructor Detail

JavaType

public JavaType()
Method Detail

getXmlType

public XmlType getXmlType()
Gets the value of the xmlType property.

Returns:
possible object is XmlType

setXmlType

public void setXmlType(XmlType value)
Sets the value of the xmlType property.

Parameters:
value - allowed object is XmlType

getXmlRootElement

public XmlRootElement getXmlRootElement()
Gets the value of the xmlRootElement property.

Returns:
possible object is XmlRootElement

setXmlRootElement

public void setXmlRootElement(XmlRootElement value)
Sets the value of the xmlRootElement property.

Parameters:
value - allowed object is XmlRootElement

getXmlSeeAlso

public java.util.List<java.lang.String> getXmlSeeAlso()
Gets the value of the xmlSeeAlso property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the xmlSeeAlso property.

For example, to add a new item, do as follows:

    getXmlSeeAlso().add(newItem);
 

Objects of the following type(s) are allowed in the list String


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

getJavaAttributes

public JavaType.JavaAttributes getJavaAttributes()
Gets the value of the javaAttributes property.

Returns:
possible object is JavaType.JavaAttributes

setJavaAttributes

public void setJavaAttributes(JavaType.JavaAttributes value)
Sets the value of the javaAttributes property.

Parameters:
value - allowed object is JavaType.JavaAttributes

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

isXmlTransient

public boolean isXmlTransient()
Gets the value of the xmlTransient property.

Returns:
possible object is Boolean

setXmlTransient

public void setXmlTransient(java.lang.Boolean value)
Sets the value of the xmlTransient property.

Parameters:
value - allowed object is Boolean

isSetXmlTransient

public boolean isSetXmlTransient()
Indicates if xmlTransient has been set, i.e. is non-null.

Returns:
true is xmlTransient is non-null, false otherwise

getXmlCustomizer

public java.lang.String getXmlCustomizer()
Gets the value of the xmlCustomizer property.

Returns:
possible object is String

setXmlCustomizer

public void setXmlCustomizer(java.lang.String value)
Sets the value of the xmlCustomizer property.

Parameters:
value - allowed object is String

getXmlAccessorType

public XmlAccessType getXmlAccessorType()
Gets the value of the xmlAccessorType property.

Returns:
possible object is XmlAccessType

setXmlAccessorType

public void setXmlAccessorType(XmlAccessType value)
Sets the value of the xmlAccessorType property.

Parameters:
value - allowed object is XmlAccessType

isSetXmlAccessorType

public boolean isSetXmlAccessorType()
Indicates if xmlAccessorType has been set, i.e. is non-null.

Returns:
true if xmlAccessorType is non-null, false otherwise

getXmlAccessorOrder

public XmlAccessOrder getXmlAccessorOrder()
Gets the value of the xmlAccessorOrder property.

Returns:
possible object is XmlAccessOrder

setXmlAccessorOrder

public void setXmlAccessorOrder(XmlAccessOrder value)
Sets the value of the xmlAccessorOrder property.

Parameters:
value - allowed object is XmlAccessOrder

isSetXmlAccessorOrder

public boolean isSetXmlAccessorOrder()
Indicates if xmlAccessorOrder has been set, i.e. is non-null.

Returns:
true if xmlAccessorOrder is non-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

EclipseLink 2.0.0, build 'v20091127-r5931' API Reference