public class JaxbHbmBasicCollectionElementType extends Object implements Serializable, TypeContainer
Declares the element type of a collection where the element is of basic type
<p>Java class for BasicCollectionElementType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="BasicCollectionElementType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula"/> </choice> <element name="type" type="{http://www.hibernate.org/xsd/orm/hbm}TypeSpecificationType" 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}int" /> <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}int" /> <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" /> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
columnAttribute |
protected List<Serializable> |
columnOrFormula |
protected String |
formulaAttribute |
protected Integer |
length |
protected String |
node |
protected Boolean |
notNull |
protected Integer |
precision |
protected Integer |
scale |
protected JaxbHbmTypeSpecificationType |
type |
protected String |
typeAttribute |
protected Boolean |
unique |
| Constructor and Description |
|---|
JaxbHbmBasicCollectionElementType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
List<Serializable> |
getColumnOrFormula()
Gets the value of the columnOrFormula property.
|
String |
getFormulaAttribute()
Gets the value of the formulaAttribute property.
|
Integer |
getLength()
Gets the value of the length property.
|
String |
getNode()
Gets the value of the node property.
|
Integer |
getPrecision()
Gets the value of the precision property.
|
Integer |
getScale()
Gets the value of the scale property.
|
JaxbHbmTypeSpecificationType |
getType()
Gets the value of the type property.
|
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 |
setColumnAttribute(String value)
Sets the value of the columnAttribute property.
|
void |
setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
|
void |
setLength(Integer value)
Sets the value of the length property.
|
void |
setNode(String value)
Sets the value of the node property.
|
void |
setNotNull(Boolean value)
Sets the value of the notNull property.
|
void |
setPrecision(Integer value)
Sets the value of the precision property.
|
void |
setScale(Integer value)
Sets the value of the scale property.
|
void |
setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.
|
void |
setTypeAttribute(String value)
Sets the value of the typeAttribute property.
|
void |
setUnique(Boolean value)
Sets the value of the unique property.
|
protected List<Serializable> columnOrFormula
protected JaxbHbmTypeSpecificationType type
protected String columnAttribute
protected String formulaAttribute
protected Integer length
protected String node
protected Boolean notNull
protected Integer precision
protected Integer scale
protected String typeAttribute
protected Boolean unique
public List<Serializable> getColumnOrFormula()
Gets the value of the columnOrFormula property.
<p> 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 <CODE>set</CODE> method for the columnOrFormula property.
<p> For example, to add a new item, do as follows: <pre> getColumnOrFormula().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
String
public JaxbHbmTypeSpecificationType getType()
Gets the value of the type property.
getType in interface TypeContainerJaxbHbmTypeSpecificationTypepublic void setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.
value - allowed object is
JaxbHbmTypeSpecificationTypepublic String getColumnAttribute()
Gets the value of the columnAttribute property.
Stringpublic void setColumnAttribute(String value)
Sets the value of the columnAttribute property.
value - allowed object is
Stringpublic String getFormulaAttribute()
Gets the value of the formulaAttribute property.
Stringpublic void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
value - allowed object is
Stringpublic Integer getLength()
Gets the value of the length property.
Integerpublic void setLength(Integer value)
Sets the value of the length property.
value - allowed object is
Integerpublic String getNode()
Gets the value of the node property.
Stringpublic void setNode(String value)
Sets the value of the node property.
value - allowed object is
Stringpublic boolean isNotNull()
Gets the value of the notNull property.
Booleanpublic void setNotNull(Boolean value)
Sets the value of the notNull property.
value - allowed object is
Booleanpublic Integer getPrecision()
Gets the value of the precision property.
Integerpublic void setPrecision(Integer value)
Sets the value of the precision property.
value - allowed object is
Integerpublic Integer getScale()
Gets the value of the scale property.
Integerpublic void setScale(Integer value)
Sets the value of the scale property.
value - allowed object is
Integerpublic String getTypeAttribute()
Gets the value of the typeAttribute property.
getTypeAttribute in interface TypeContainerStringpublic void setTypeAttribute(String value)
Sets the value of the typeAttribute property.
value - allowed object is
Stringpublic boolean isUnique()
Gets the value of the unique property.
BooleanCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.