Class JavaType
- java.lang.Object
-
- 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" 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 class
JavaType.JavaAttributes
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected JavaType.JavaAttributes
javaAttributes
protected java.lang.String
name
protected java.lang.String
superType
protected XmlAccessOrder
xmlAccessorOrder
protected XmlAccessType
xmlAccessorType
protected XmlClassExtractor
xmlClassExtractor
protected java.lang.String
xmlCustomizer
protected java.lang.String
xmlDiscriminatorNode
protected java.lang.String
xmlDiscriminatorValue
protected XmlElementNillable
xmlElementNillable
protected java.lang.Boolean
xmlInlineBinaryData
protected XmlJavaTypeAdapter
xmlJavaTypeAdapter
protected XmlNamedObjectGraphs
xmlNamedObjectGraphs
protected java.lang.String
xmlNameTransformer
protected XmlNullPolicy
xmlNullPolicy
protected XmlProperties
xmlProperties
protected XmlRootElement
xmlRootElement
protected java.util.List<java.lang.String>
xmlSeeAlso
protected java.lang.Boolean
xmlTransient
protected XmlType
xmlType
protected XmlVirtualAccessMethods
xmlVirtualAccessMethods
-
Constructor Summary
Constructors Constructor Description JavaType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType.JavaAttributes
getJavaAttributes()
Gets the value of the javaAttributes property.java.lang.String
getName()
Gets the value of the name property.java.lang.String
getSuperType()
Gets the value of the superType property.XmlAccessOrder
getXmlAccessorOrder()
Gets the value of the xmlAccessorOrder property.XmlAccessType
getXmlAccessorType()
Gets the value of the xmlAccessorType property.XmlClassExtractor
getXmlClassExtractor()
Gets the value of the xmlClassExtractor property.java.lang.String
getXmlCustomizer()
Gets the value of the xmlCustomizer property.java.lang.String
getXmlDiscriminatorNode()
Gets the value of the xmlDiscriminatorNode property.java.lang.String
getXmlDiscriminatorValue()
Gets the value of the xmlDiscriminatorValue property.XmlElementNillable
getXmlElementNillable()
Gets the value of the xmlElementNillable property.XmlJavaTypeAdapter
getXmlJavaTypeAdapter()
Gets the value of the xmlJavaTypeAdapter property.XmlNamedObjectGraphs
getXmlNamedObjectGraphs()
Gets the value of the xmlNamedObjectGraphs property.java.lang.String
getXmlNameTransformer()
Gets the value of the xmlNameTransformer property.XmlNullPolicy
getXmlNullPolicy()
Gets the value of the xmlNullPolicy property.XmlProperties
getXmlProperties()
Gets the value of the xmlProperties 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.XmlVirtualAccessMethods
getXmlVirtualAccessMethods()
Gets the value of the xmlVirtualAccessMethods 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
isSetXmlInlineBinaryData()
Indicates if xmlInlineBinaryData 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
setSuperType(java.lang.String value)
Sets the value of the superType property.void
setXmlAccessorOrder(XmlAccessOrder value)
Sets the value of the xmlAccessorOrder property.void
setXmlAccessorType(XmlAccessType value)
Sets the value of the xmlAccessorType property.void
setXmlClassExtractor(XmlClassExtractor value)
Sets the value of the xmlClassExtractor property.void
setXmlCustomizer(java.lang.String value)
Sets the value of the xmlCustomizer property.void
setXmlDiscriminatorNode(java.lang.String value)
Sets the value of the xmlDiscriminatorNode property.void
setXmlDiscriminatorValue(java.lang.String value)
Sets the value of the xmlDiscriminatorValue property.void
setXmlElementNillable(XmlElementNillable value)
Sets the value of the xmlElementNillable 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
setXmlNamedObjectGraphs(XmlNamedObjectGraphs value)
Sets the value of the xmlNamedObjectGraphs property.void
setXmlNameTransformer(java.lang.String value)
Sets the value of the xmlNameTransformer property.void
setXmlNullPolicy(XmlNullPolicy value)
Sets the value of the xmlNullPolicy property.void
setXmlProperties(XmlProperties value)
Sets the value of the xmlProperties 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.void
setXmlVirtualAccessMethods(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
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 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
-
-