public class JaxbHbmBasicCollectionElementType extends Object implements Serializable, TypeContainer
Java class for BasicCollectionElementType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
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()
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
JaxbHbmColumnType
String
public JaxbHbmTypeSpecificationType getType()
getType
in interface TypeContainer
JaxbHbmTypeSpecificationType
public void setType(JaxbHbmTypeSpecificationType value)
value
- allowed object is
JaxbHbmTypeSpecificationType
public String getColumnAttribute()
String
public void setColumnAttribute(String value)
value
- allowed object is
String
public String getFormulaAttribute()
String
public void setFormulaAttribute(String value)
value
- allowed object is
String
public Integer getLength()
Integer
public void setLength(Integer value)
value
- allowed object is
Integer
public String getNode()
String
public void setNode(String value)
value
- allowed object is
String
public boolean isNotNull()
Boolean
public void setNotNull(Boolean value)
value
- allowed object is
Boolean
public Integer getPrecision()
Integer
public void setPrecision(Integer value)
value
- allowed object is
Integer
public Integer getScale()
Integer
public void setScale(Integer value)
value
- allowed object is
Integer
public String getTypeAttribute()
getTypeAttribute
in interface TypeContainer
String
public void setTypeAttribute(String value)
value
- allowed object is
String
public boolean isUnique()
Boolean
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.