EclipseLink 2.0.0, build 'v20091127-r5931' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class JavaType.JavaAttributes

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.JavaType.JavaAttributes
Enclosing class:
JavaType

public static class JavaType.JavaAttributes
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">
       <sequence>
         <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}java-attribute" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<JAXBElement<? extends JavaAttribute>> javaAttribute
           
 
Constructor Summary
JavaType.JavaAttributes()
           
 
Method Summary
 java.util.List<JAXBElement<? extends JavaAttribute>> getJavaAttribute()
          Gets the value of the javaAttribute property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

javaAttribute

protected java.util.List<JAXBElement<? extends JavaAttribute>> javaAttribute
Constructor Detail

JavaType.JavaAttributes

public JavaType.JavaAttributes()
Method Detail

getJavaAttribute

public java.util.List<JAXBElement<? extends JavaAttribute>> getJavaAttribute()
Gets the value of the javaAttribute 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 javaAttribute property.

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

    getJavaAttribute().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<XmlAttribute> JAXBElement<XmlValue> JAXBElement<XmlAnyElement> JAXBElement<JavaAttribute> JAXBElement<XmlElementRef> JAXBElement<XmlElementRefs> JAXBElement<XmlElement> JAXBElement<XmlAnyAttribute> JAXBElement<XmlJavaTypeAdapter> JAXBElement<XmlElements> JAXBElement<XmlTransient>


EclipseLink 2.0.0, build 'v20091127-r5931' API Reference