Class XmlElementRef
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlElementRef
-
public class XmlElementRef extends JavaAttribute
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}java-attribute"> <all> <element name="xml-access-methods" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-access-methods" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-element-wrapper" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-properties" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-java-type-adapter" minOccurs="0"/> </all> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="container-type" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="javax.xml.bind.annotation.XmlElementRef.DEFAULT" /> <attribute name="xml-mixed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="read-only" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="write-only" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
containerType
protected java.lang.String
name
protected java.lang.String
namespace
protected java.lang.Boolean
readOnly
protected java.lang.Boolean
required
protected java.lang.String
type
protected java.lang.Boolean
writeOnly
protected XmlAccessMethods
xmlAccessMethods
protected XmlElementWrapper
xmlElementWrapper
protected XmlJavaTypeAdapter
xmlJavaTypeAdapter
protected java.lang.Boolean
xmlMixed
protected XmlProperties
xmlProperties
-
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute, xmlAccessorType
-
-
Constructor Summary
Constructors Constructor Description XmlElementRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContainerType()
Gets the value of the containerType property.java.lang.String
getName()
Gets the value of the name property.java.lang.String
getNamespace()
Gets the value of the namespace property.java.lang.String
getType()
Gets the value of the type property.XmlAccessMethods
getXmlAccessMethods()
Gets the value of the xmlAccessMethods property.XmlElementWrapper
getXmlElementWrapper()
Gets the value of the xmlElementWrapper property.XmlJavaTypeAdapter
getXmlJavaTypeAdapter()
Gets the value of the xmlJavaTypeAdapter property.XmlProperties
getXmlProperties()
Gets the value of the xmlProperties property.boolean
isReadOnly()
Gets the value of the readOnly property.boolean
isRequired()
Gets the value of the required property.boolean
isSetReadOnly()
Indicates if the readOnly property has been set, i.e.boolean
isSetWriteOnly()
Indicates if the writeOnly property has been set, i.e.boolean
isSetXmlMixed()
Indicates if the mixed flag has been set, i.e. is non-null.boolean
isWriteOnly()
Gets the value of the writeOnly property.boolean
isXmlMixed()
Gets the value of the xmlMixed property.void
setContainerType(java.lang.String value)
Sets the value of the containerType 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.void
setReadOnly(java.lang.Boolean value)
Sets the value of the readOnly property.void
setRequired(java.lang.Boolean value)
Sets the value of the required property.void
setType(java.lang.String value)
Sets the value of the type property.void
setWriteOnly(java.lang.Boolean value)
Sets the value of the writeOnly property.void
setXmlAccessMethods(XmlAccessMethods value)
Sets the value of the xmlAccessMethods property.void
setXmlElementWrapper(XmlElementWrapper value)
Sets the value of the xmlElementWrapper property.void
setXmlJavaTypeAdapter(XmlJavaTypeAdapter value)
Sets the value of the xmlJavaTypeAdapter property.void
setXmlMixed(java.lang.Boolean value)
Sets the value of the xmlMixed property.void
setXmlProperties(XmlProperties value)
Sets the value of the xmlProperties property.-
Methods inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
getJavaAttribute, getXmlAccessorType, setJavaAttribute, setXmlAccessorType
-
-
-
-
Field Detail
-
xmlAccessMethods
protected XmlAccessMethods xmlAccessMethods
-
xmlElementWrapper
protected XmlElementWrapper xmlElementWrapper
-
xmlProperties
protected XmlProperties xmlProperties
-
xmlJavaTypeAdapter
protected XmlJavaTypeAdapter xmlJavaTypeAdapter
-
name
protected java.lang.String name
-
namespace
protected java.lang.String namespace
-
containerType
protected java.lang.String containerType
-
type
protected java.lang.String type
-
xmlMixed
protected java.lang.Boolean xmlMixed
-
readOnly
protected java.lang.Boolean readOnly
-
writeOnly
protected java.lang.Boolean writeOnly
-
required
protected java.lang.Boolean required
-
-
Method Detail
-
getXmlAccessMethods
public XmlAccessMethods getXmlAccessMethods()
Gets the value of the xmlAccessMethods property.- Returns:
- possible object is
XmlAccessMethods
-
setXmlAccessMethods
public void setXmlAccessMethods(XmlAccessMethods value)
Sets the value of the xmlAccessMethods property.- Parameters:
value
- allowed object isXmlAccessMethods
-
getXmlElementWrapper
public XmlElementWrapper getXmlElementWrapper()
Gets the value of the xmlElementWrapper property.- Returns:
- possible object is
XmlElementWrapper
-
setXmlElementWrapper
public void setXmlElementWrapper(XmlElementWrapper value)
Sets the value of the xmlElementWrapper property.- Parameters:
value
- allowed object isXmlElementWrapper
-
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
-
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
-
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
-
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 isString
-
getContainerType
public java.lang.String getContainerType()
Gets the value of the containerType property.- Returns:
- possible object is
String
-
setContainerType
public void setContainerType(java.lang.String value)
Sets the value of the containerType property.- Parameters:
value
- allowed object isString
-
getType
public java.lang.String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
isXmlMixed
public boolean isXmlMixed()
Gets the value of the xmlMixed property.- Returns:
- possible object is
Boolean
-
setXmlMixed
public void setXmlMixed(java.lang.Boolean value)
Sets the value of the xmlMixed property.- Parameters:
value
- allowed object isBoolean
-
isSetXmlMixed
public boolean isSetXmlMixed()
Indicates if the mixed flag has been set, i.e. is non-null.
-
isReadOnly
public boolean isReadOnly()
Gets the value of the readOnly property.- Returns:
- possible object is
Boolean
-
setReadOnly
public void setReadOnly(java.lang.Boolean value)
Sets the value of the readOnly property.- Parameters:
value
- allowed object isBoolean
-
isSetReadOnly
public boolean isSetReadOnly()
Indicates if the readOnly property has been set, i.e. is non-null.- Returns:
- true if readOnly is non-null, otherwise false
-
isWriteOnly
public boolean isWriteOnly()
Gets the value of the writeOnly property.- Returns:
- possible object is
Boolean
-
setWriteOnly
public void setWriteOnly(java.lang.Boolean value)
Sets the value of the writeOnly property.- Parameters:
value
- allowed object isBoolean
-
isSetWriteOnly
public boolean isSetWriteOnly()
Indicates if the writeOnly property has been set, i.e. is non-null.- Returns:
- true if writeOnly is non-null, otherwise false
-
isRequired
public boolean isRequired()
Gets the value of the required property.- Returns:
- possible object is
Boolean
-
setRequired
public void setRequired(java.lang.Boolean value)
Sets the value of the required property.- Parameters:
value
- allowed object isBoolean
-
-