Class JavaType
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.JavaType
-
public class JavaType extends java.lang.ObjectJava 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" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-root-element" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-virtual-access-methods" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-see-also" 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-class-extractor" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-properties" minOccurs="0"/> <element name="java-attributes" minOccurs="0"> <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" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-named-object-graphs" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-null-policy" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element-nillable" minOccurs="0"/> </all> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="super-type" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="xml-accessor-order" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-access-order" default="UNDEFINED" /> <attribute name="xml-accessor-type" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-access-type" default="PUBLIC_MEMBER" /> <attribute name="xml-customizer" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="xml-discriminator-node" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="xml-discriminator-value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="xml-inline-binary-data" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-transient" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="xml-name-transformer" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaType.JavaAttributesJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected JavaType.JavaAttributesjavaAttributesprotected java.lang.Stringnameprotected java.lang.StringsuperTypeprotected XmlAccessOrderxmlAccessorOrderprotected XmlAccessTypexmlAccessorTypeprotected XmlClassExtractorxmlClassExtractorprotected java.lang.StringxmlCustomizerprotected java.lang.StringxmlDiscriminatorNodeprotected java.lang.StringxmlDiscriminatorValueprotected XmlElementNillablexmlElementNillableprotected java.lang.BooleanxmlInlineBinaryDataprotected XmlJavaTypeAdapterxmlJavaTypeAdapterprotected XmlNamedObjectGraphsxmlNamedObjectGraphsprotected java.lang.StringxmlNameTransformerprotected XmlNullPolicyxmlNullPolicyprotected XmlPropertiesxmlPropertiesprotected XmlRootElementxmlRootElementprotected java.util.List<java.lang.String>xmlSeeAlsoprotected java.lang.BooleanxmlTransientprotected XmlTypexmlTypeprotected XmlVirtualAccessMethodsxmlVirtualAccessMethods
-
Constructor Summary
Constructors Constructor Description JavaType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType.JavaAttributesgetJavaAttributes()Gets the value of the javaAttributes property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetSuperType()Gets the value of the superType property.XmlAccessOrdergetXmlAccessorOrder()Gets the value of the xmlAccessorOrder property.XmlAccessTypegetXmlAccessorType()Gets the value of the xmlAccessorType property.XmlClassExtractorgetXmlClassExtractor()Gets the value of the xmlClassExtractor property.java.lang.StringgetXmlCustomizer()Gets the value of the xmlCustomizer property.java.lang.StringgetXmlDiscriminatorNode()Gets the value of the xmlDiscriminatorNode property.java.lang.StringgetXmlDiscriminatorValue()Gets the value of the xmlDiscriminatorValue property.XmlElementNillablegetXmlElementNillable()Gets the value of the xmlElementNillable property.XmlJavaTypeAdaptergetXmlJavaTypeAdapter()Gets the value of the xmlJavaTypeAdapter property.XmlNamedObjectGraphsgetXmlNamedObjectGraphs()Gets the value of the xmlNamedObjectGraphs property.java.lang.StringgetXmlNameTransformer()Gets the value of the xmlNameTransformer property.XmlNullPolicygetXmlNullPolicy()Gets the value of the xmlNullPolicy property.XmlPropertiesgetXmlProperties()Gets the value of the xmlProperties property.XmlRootElementgetXmlRootElement()Gets the value of the xmlRootElement property.java.util.List<java.lang.String>getXmlSeeAlso()Gets the value of the xmlSeeAlso property.XmlTypegetXmlType()Gets the value of the xmlType property.XmlVirtualAccessMethodsgetXmlVirtualAccessMethods()Gets the value of the xmlVirtualAccessMethods property.booleanisSetXmlAccessorOrder()Indicates if xmlAccessorOrder has been set, i.e. is non-null.booleanisSetXmlAccessorType()Indicates if xmlAccessorType has been set, i.e. is non-null.booleanisSetXmlInlineBinaryData()Indicates if xmlInlineBinaryData has been set, i.e. is non-null.booleanisSetXmlTransient()Indicates if xmlTransient has been set, i.e. is non-null.booleanisXmlInlineBinaryData()Gets the value of the xmlInlineBinaryData property.booleanisXmlTransient()Gets the value of the xmlTransient property.voidsetJavaAttributes(JavaType.JavaAttributes value)Sets the value of the javaAttributes property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetSuperType(java.lang.String value)Sets the value of the superType property.voidsetXmlAccessorOrder(XmlAccessOrder value)Sets the value of the xmlAccessorOrder property.voidsetXmlAccessorType(XmlAccessType value)Sets the value of the xmlAccessorType property.voidsetXmlClassExtractor(XmlClassExtractor value)Sets the value of the xmlClassExtractor property.voidsetXmlCustomizer(java.lang.String value)Sets the value of the xmlCustomizer property.voidsetXmlDiscriminatorNode(java.lang.String value)Sets the value of the xmlDiscriminatorNode property.voidsetXmlDiscriminatorValue(java.lang.String value)Sets the value of the xmlDiscriminatorValue property.voidsetXmlElementNillable(XmlElementNillable value)Sets the value of the xmlElementNillable property.voidsetXmlInlineBinaryData(java.lang.Boolean value)Sets the value of the xmlInlineBinaryData property.voidsetXmlJavaTypeAdapter(XmlJavaTypeAdapter value)Sets the value of the xmlJavaTypeAdapter property.voidsetXmlNamedObjectGraphs(XmlNamedObjectGraphs value)Sets the value of the xmlNamedObjectGraphs property.voidsetXmlNameTransformer(java.lang.String value)Sets the value of the xmlNameTransformer property.voidsetXmlNullPolicy(XmlNullPolicy value)Sets the value of the xmlNullPolicy property.voidsetXmlProperties(XmlProperties value)Sets the value of the xmlProperties property.voidsetXmlRootElement(XmlRootElement value)Sets the value of the xmlRootElement property.voidsetXmlTransient(java.lang.Boolean value)Sets the value of the xmlTransient property.voidsetXmlType(XmlType value)Sets the value of the xmlType property.voidsetXmlVirtualAccessMethods(XmlVirtualAccessMethods value)Sets the value of the xmlVirtualAccessMethods property.
-
-
-
Field Detail
-
xmlType
protected XmlType xmlType
-
xmlRootElement
protected XmlRootElement xmlRootElement
-
xmlVirtualAccessMethods
protected XmlVirtualAccessMethods xmlVirtualAccessMethods
-
xmlSeeAlso
protected java.util.List<java.lang.String> xmlSeeAlso
-
xmlJavaTypeAdapter
protected XmlJavaTypeAdapter xmlJavaTypeAdapter
-
xmlClassExtractor
protected XmlClassExtractor xmlClassExtractor
-
xmlProperties
protected XmlProperties xmlProperties
-
javaAttributes
protected JavaType.JavaAttributes javaAttributes
-
xmlNamedObjectGraphs
protected XmlNamedObjectGraphs xmlNamedObjectGraphs
-
xmlNullPolicy
protected XmlNullPolicy xmlNullPolicy
-
xmlElementNillable
protected XmlElementNillable xmlElementNillable
-
name
protected java.lang.String name
-
superType
protected java.lang.String superType
-
xmlAccessorOrder
protected XmlAccessOrder xmlAccessorOrder
-
xmlAccessorType
protected XmlAccessType xmlAccessorType
-
xmlCustomizer
protected java.lang.String xmlCustomizer
-
xmlDiscriminatorNode
protected java.lang.String xmlDiscriminatorNode
-
xmlDiscriminatorValue
protected java.lang.String xmlDiscriminatorValue
-
xmlInlineBinaryData
protected java.lang.Boolean xmlInlineBinaryData
-
xmlTransient
protected java.lang.Boolean xmlTransient
-
xmlNameTransformer
protected java.lang.String xmlNameTransformer
-
-
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 isXmlType
-
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 isXmlRootElement
-
getXmlVirtualAccessMethods
public XmlVirtualAccessMethods getXmlVirtualAccessMethods()
Gets the value of the xmlVirtualAccessMethods property.- Returns:
- possible object is
XmlVirtualAccessMethods
-
setXmlVirtualAccessMethods
public void setXmlVirtualAccessMethods(XmlVirtualAccessMethods value)
Sets the value of the xmlVirtualAccessMethods property.- Parameters:
value- allowed object isXmlVirtualAccessMethods
-
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
setmethod 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 isXmlJavaTypeAdapter
-
getXmlClassExtractor
public XmlClassExtractor getXmlClassExtractor()
Gets the value of the xmlClassExtractor property.- Returns:
- possible object is
XmlClassExtractor
-
setXmlClassExtractor
public void setXmlClassExtractor(XmlClassExtractor value)
Sets the value of the xmlClassExtractor property.- Parameters:
value- allowed object isXmlClassExtractor
-
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 isXmlProperties
-
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 isJavaType.JavaAttributes
-
getXmlNamedObjectGraphs
public XmlNamedObjectGraphs getXmlNamedObjectGraphs()
Gets the value of the xmlNamedObjectGraphs property.- Returns:
- possible object is
XmlNamedObjectGraphs
-
setXmlNamedObjectGraphs
public void setXmlNamedObjectGraphs(XmlNamedObjectGraphs value)
Sets the value of the xmlNamedObjectGraphs property.- Parameters:
value- allowed object isXmlNamedObjectGraphs
-
getXmlNullPolicy
public XmlNullPolicy getXmlNullPolicy()
Gets the value of the xmlNullPolicy property.- Returns:
- possible object is
XmlNullPolicy
-
setXmlNullPolicy
public void setXmlNullPolicy(XmlNullPolicy value)
Sets the value of the xmlNullPolicy property.- Parameters:
value- allowed object isXmlNullPolicy
-
getXmlElementNillable
public XmlElementNillable getXmlElementNillable()
Gets the value of the xmlElementNillable property.- Returns:
- possible object is
XmlElementNillable
-
setXmlElementNillable
public void setXmlElementNillable(XmlElementNillable value)
Sets the value of the xmlElementNillable property.- Parameters:
value- allowed object isXmlElementNillable
-
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 isString
-
getSuperType
public java.lang.String getSuperType()
Gets the value of the superType property.- Returns:
- possible object is
String
-
setSuperType
public void setSuperType(java.lang.String value)
Sets the value of the superType property.- Parameters:
value- allowed object isString
-
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 isXmlAccessOrder
-
isSetXmlAccessorOrder
public boolean isSetXmlAccessorOrder()
Indicates if xmlAccessorOrder has been set, i.e. is non-null.- Returns:
- true if xmlAccessorOrder is non-null, false otherwise
-
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 isXmlAccessType
-
isSetXmlAccessorType
public boolean isSetXmlAccessorType()
Indicates if xmlAccessorType has been set, i.e. is non-null.- Returns:
- true if xmlAccessorType 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 isString
-
getXmlDiscriminatorNode
public java.lang.String getXmlDiscriminatorNode()
Gets the value of the xmlDiscriminatorNode property.- Returns:
- possible object is
String
-
setXmlDiscriminatorNode
public void setXmlDiscriminatorNode(java.lang.String value)
Sets the value of the xmlDiscriminatorNode property.- Parameters:
value- allowed object isString
-
getXmlDiscriminatorValue
public java.lang.String getXmlDiscriminatorValue()
Gets the value of the xmlDiscriminatorValue property.- Returns:
- possible object is
String
-
setXmlDiscriminatorValue
public void setXmlDiscriminatorValue(java.lang.String value)
Sets the value of the xmlDiscriminatorValue property.- Parameters:
value- allowed object isString
-
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 isBoolean
-
isSetXmlInlineBinaryData
public boolean isSetXmlInlineBinaryData()
Indicates if xmlInlineBinaryData has been set, i.e. is non-null.- Returns:
- true if xmlInlineBinaryData is non-null, false otherwise
-
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 isBoolean
-
isSetXmlTransient
public boolean isSetXmlTransient()
Indicates if xmlTransient has been set, i.e. is non-null.- Returns:
- true is xmlTransient is non-null, false otherwise
-
getXmlNameTransformer
public java.lang.String getXmlNameTransformer()
Gets the value of the xmlNameTransformer property.- Returns:
- possible object is
String
-
setXmlNameTransformer
public void setXmlNameTransformer(java.lang.String value)
Sets the value of the xmlNameTransformer property.- Parameters:
value- allowed object isString
-
-