EclipseLink 2.3.2, build 'v20111125-r10461' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlType

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

public class XmlType
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">
       <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="factory-class" type="{http://www.w3.org/2001/XMLSchema}string" default="javax.xml.bind.annotation.XmlType.DEFAULT" />
       <attribute name="factory-method" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="prop-order">
         <simpleType>
           <list itemType="{http://www.w3.org/2001/XMLSchema}string" />
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String factoryClass
           
protected  java.lang.String factoryMethod
           
protected  java.lang.String name
           
protected  java.lang.String namespace
           
protected  java.util.List<java.lang.String> propOrder
           
 
Constructor Summary
XmlType()
           
 
Method Summary
 java.lang.String getFactoryClass()
          Gets the value of the factoryClass property.
 java.lang.String getFactoryMethod()
          Gets the value of the factoryMethod property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getNamespace()
          Gets the value of the namespace property.
 java.util.List<java.lang.String> getPropOrder()
          Gets the value of the propOrder property.
 boolean isSetPropOrder()
           
 void setFactoryClass(java.lang.String value)
          Sets the value of the factoryClass property.
 void setFactoryMethod(java.lang.String value)
          Sets the value of the factoryMethod 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

namespace

protected java.lang.String namespace

factoryClass

protected java.lang.String factoryClass

factoryMethod

protected java.lang.String factoryMethod

propOrder

protected java.util.List<java.lang.String> propOrder
Constructor Detail

XmlType

public XmlType()
Method Detail

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

getFactoryClass

public java.lang.String getFactoryClass()
Gets the value of the factoryClass property.

Returns:
possible object is String

setFactoryClass

public void setFactoryClass(java.lang.String value)
Sets the value of the factoryClass property.

Parameters:
value - allowed object is String

getFactoryMethod

public java.lang.String getFactoryMethod()
Gets the value of the factoryMethod property.

Returns:
possible object is String

setFactoryMethod

public void setFactoryMethod(java.lang.String value)
Sets the value of the factoryMethod property.

Parameters:
value - allowed object is String

getPropOrder

public java.util.List<java.lang.String> getPropOrder()
Gets the value of the propOrder 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 propOrder property.

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

    getPropOrder().add(newItem);
 

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


isSetPropOrder

public boolean isSetPropOrder()

EclipseLink 2.3.2, build 'v20111125-r10461' API Reference