public class JaxbElementElement
extends java.lang.Object
Java class for element-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="element-element"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <element name="column" type="{http://www.hibernate.org/xsd/hibernate-mapping}column-element"/> <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <element name="type" type="{http://www.hibernate.org/xsd/hibernate-mapping}type-element" minOccurs="0"/> </sequence> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
column |
protected java.util.List<java.lang.Object> |
columnOrFormula |
protected java.lang.String |
formula |
protected java.lang.String |
length |
protected java.lang.String |
node |
protected java.lang.Boolean |
notNull |
protected java.lang.String |
precision |
protected java.lang.String |
scale |
protected JaxbTypeElement |
type |
protected java.lang.String |
typeAttribute |
protected java.lang.Boolean |
unique |
Constructor and Description |
---|
JaxbElementElement() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumn()
Gets the value of the column property.
|
java.util.List<java.lang.Object> |
getColumnOrFormula()
Gets the value of the columnOrFormula property.
|
java.lang.String |
getFormula()
Gets the value of the formula property.
|
java.lang.String |
getLength()
Gets the value of the length property.
|
java.lang.String |
getNode()
Gets the value of the node property.
|
java.lang.String |
getPrecision()
Gets the value of the precision property.
|
java.lang.String |
getScale()
Gets the value of the scale property.
|
JaxbTypeElement |
getType()
Gets the value of the type property.
|
java.lang.String |
getTypeAttribute()
Gets the value of the typeAttribute property.
|
boolean |
isNotNull()
Gets the value of the notNull property.
|
boolean |
isUnique()
Gets the value of the unique property.
|
void |
setColumn(java.lang.String value)
Sets the value of the column property.
|
void |
setFormula(java.lang.String value)
Sets the value of the formula property.
|
void |
setLength(java.lang.String value)
Sets the value of the length property.
|
void |
setNode(java.lang.String value)
Sets the value of the node property.
|
void |
setNotNull(java.lang.Boolean value)
Sets the value of the notNull property.
|
void |
setPrecision(java.lang.String value)
Sets the value of the precision property.
|
void |
setScale(java.lang.String value)
Sets the value of the scale property.
|
void |
setType(JaxbTypeElement value)
Sets the value of the type property.
|
void |
setTypeAttribute(java.lang.String value)
Sets the value of the typeAttribute property.
|
void |
setUnique(java.lang.Boolean value)
Sets the value of the unique property.
|
protected java.util.List<java.lang.Object> columnOrFormula
protected JaxbTypeElement type
protected java.lang.String column
protected java.lang.String formula
protected java.lang.String length
protected java.lang.String node
protected java.lang.Boolean notNull
protected java.lang.String precision
protected java.lang.String scale
protected java.lang.String typeAttribute
protected java.lang.Boolean unique
public java.util.List<java.lang.Object> getColumnOrFormula()
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 columnOrFormula property.
For example, to add a new item, do as follows:
getColumnOrFormula().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbColumnElement
String
public JaxbTypeElement getType()
JaxbTypeElement
public void setType(JaxbTypeElement value)
value
- allowed object is
JaxbTypeElement
public java.lang.String getColumn()
String
public void setColumn(java.lang.String value)
value
- allowed object is
String
public java.lang.String getFormula()
String
public void setFormula(java.lang.String value)
value
- allowed object is
String
public java.lang.String getLength()
String
public void setLength(java.lang.String value)
value
- allowed object is
String
public java.lang.String getNode()
String
public void setNode(java.lang.String value)
value
- allowed object is
String
public boolean isNotNull()
Boolean
public void setNotNull(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getPrecision()
String
public void setPrecision(java.lang.String value)
value
- allowed object is
String
public java.lang.String getScale()
String
public void setScale(java.lang.String value)
value
- allowed object is
String
public java.lang.String getTypeAttribute()
String
public void setTypeAttribute(java.lang.String value)
value
- allowed object is
String
public boolean isUnique()
Boolean
public void setUnique(java.lang.Boolean value)
value
- allowed object is
Boolean
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.