Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmCollectionIdType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCollectionIdType
-
- All Implemented Interfaces:
java.io.Serializable,ToolingHintContainer
public class JaxbHbmCollectionIdType extends JaxbHbmToolingHintContainer implements java.io.Serializable
Java class for CollectionIdType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CollectionIdType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer"> <sequence> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/> <element name="generator" type="{http://www.hibernate.org/xsd/orm/hbm}GeneratorSpecificationType"/> </sequence> <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<JaxbHbmColumnType>columnprotected java.lang.StringcolumnAttributeprotected JaxbHbmGeneratorSpecificationTypegeneratorprotected java.lang.Integerlengthprotected java.lang.Stringtype-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmCollectionIdType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JaxbHbmColumnType>getColumn()Gets the value of the column property.java.lang.StringgetColumnAttribute()Gets the value of the columnAttribute property.JaxbHbmGeneratorSpecificationTypegetGenerator()Gets the value of the generator property.java.lang.IntegergetLength()Gets the value of the length property.java.lang.StringgetType()Gets the value of the type property.voidsetColumnAttribute(java.lang.String value)Sets the value of the columnAttribute property.voidsetGenerator(JaxbHbmGeneratorSpecificationType value)Sets the value of the generator property.voidsetLength(java.lang.Integer value)Sets the value of the length property.voidsetType(java.lang.String value)Sets the value of the type property.-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
-
-
-
Field Detail
-
column
protected java.util.List<JaxbHbmColumnType> column
-
generator
protected JaxbHbmGeneratorSpecificationType generator
-
columnAttribute
protected java.lang.String columnAttribute
-
length
protected java.lang.Integer length
-
type
protected java.lang.String type
-
-
Method Detail
-
getColumn
public java.util.List<JaxbHbmColumnType> getColumn()
Gets the value of the column 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 JAXB object. This is why there is not a
setmethod for the column property.For example, to add a new item, do as follows:
getColumn().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
-
getGenerator
public JaxbHbmGeneratorSpecificationType getGenerator()
Gets the value of the generator property.- Returns:
- possible object is
JaxbHbmGeneratorSpecificationType
-
setGenerator
public void setGenerator(JaxbHbmGeneratorSpecificationType value)
Sets the value of the generator property.- Parameters:
value- allowed object isJaxbHbmGeneratorSpecificationType
-
getColumnAttribute
public java.lang.String getColumnAttribute()
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(java.lang.String value)
Sets the value of the columnAttribute property.- Parameters:
value- allowed object isString
-
getLength
public java.lang.Integer getLength()
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
public void setLength(java.lang.Integer value)
Sets the value of the length property.- Parameters:
value- allowed object isInteger
-
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
-
-