Class JaxbHbmBasicCollectionElementType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBasicCollectionElementType
- All Implemented Interfaces:
Serializable, TypeContainer
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>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the columnAttribute property.Gets the value of the columnOrFormula property.Gets the value of the formulaAttribute property.Gets the value of the length property.getNode()Gets the value of the node property.Gets the value of the precision property.getScale()Gets the value of the scale property.getType()Gets the value of the type property.Gets the value of the typeAttribute property.booleanGets the value of the notNull property.booleanisUnique()Gets the value of the unique property.voidsetColumnAttribute(String value) Sets the value of the columnAttribute property.voidsetFormulaAttribute(String value) Sets the value of the formulaAttribute property.voidSets the value of the length property.voidSets the value of the node property.voidsetNotNull(Boolean value) Sets the value of the notNull property.voidsetPrecision(Integer value) Sets the value of the precision property.voidSets the value of the scale property.voidSets the value of the type property.voidsetTypeAttribute(String value) Sets the value of the typeAttribute property.voidSets the value of the unique property.
-
Field Details
-
columnOrFormula
-
type
-
columnAttribute
-
formulaAttribute
-
length
-
node
-
notNull
-
precision
-
scale
-
typeAttribute
-
unique
-
-
Constructor Details
-
JaxbHbmBasicCollectionElementType
public JaxbHbmBasicCollectionElementType()
-
-
Method Details
-
getColumnOrFormula
Gets the value of the columnOrFormula 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
StringJaxbHbmColumnType- Returns:
- The value of the columnOrFormula property.
-
getType
Gets the value of the type property.- Specified by:
getTypein interfaceTypeContainer- Returns:
- possible object is
JaxbHbmTypeSpecificationType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isJaxbHbmTypeSpecificationType
-
getColumnAttribute
-
setColumnAttribute
-
getFormulaAttribute
-
setFormulaAttribute
-
getLength
-
setLength
-
getNode
-
setNode
-
isNotNull
public boolean isNotNull()Gets the value of the notNull property.- Returns:
- possible object is
Boolean
-
setNotNull
-
getPrecision
-
setPrecision
-
getScale
-
setScale
-
getTypeAttribute
Gets the value of the typeAttribute property.- Specified by:
getTypeAttributein interfaceTypeContainer- Returns:
- possible object is
String
-
setTypeAttribute
-
isUnique
public boolean isUnique()Gets the value of the unique property.- Returns:
- possible object is
Boolean
-
setUnique
-