Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmCompositeKeyBasicAttributeType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeKeyBasicAttributeType
-
- All Implemented Interfaces:
java.io.Serializable,AttributeMapping,SingularAttributeInfo,ToolingHintContainer,TypeContainer
public class JaxbHbmCompositeKeyBasicAttributeType extends JaxbHbmToolingHintContainer implements java.io.Serializable, SingularAttributeInfo, TypeContainer
A property embedded in a composite identifier or map index (always not-null).Java class for CompositeKeyBasicAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompositeKeyBasicAttributeType"> <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="type" type="{http://www.hibernate.org/xsd/orm/hbm}TypeSpecificationType" minOccurs="0"/> </sequence> <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" 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.lang.Stringaccessprotected java.util.List<JaxbHbmColumnType>columnprotected java.lang.StringcolumnAttributeprotected java.lang.Integerlengthprotected java.lang.Stringnameprotected java.lang.Stringnodeprotected JaxbHbmTypeSpecificationTypetypeprotected java.lang.StringtypeAttribute-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmCompositeKeyBasicAttributeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccess()Gets the value of the access property.java.util.List<JaxbHbmColumnType>getColumn()Gets the value of the column property.java.lang.StringgetColumnAttribute()Gets the value of the columnAttribute property.java.lang.IntegergetLength()Gets the value of the length property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetNode()Gets the value of the node property.JaxbHbmTypeSpecificationTypegetType()Gets the value of the type property.java.lang.StringgetTypeAttribute()Gets the value of the typeAttribute property.voidsetAccess(java.lang.String value)Sets the value of the access property.voidsetColumnAttribute(java.lang.String value)Sets the value of the columnAttribute property.voidsetLength(java.lang.Integer value)Sets the value of the length property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNode(java.lang.String value)Sets the value of the node property.voidsetType(JaxbHbmTypeSpecificationType value)Sets the value of the type property.voidsetTypeAttribute(java.lang.String value)Sets the value of the typeAttribute property.-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
-
-
-
Field Detail
-
column
protected java.util.List<JaxbHbmColumnType> column
-
type
protected JaxbHbmTypeSpecificationType type
-
access
protected java.lang.String access
-
columnAttribute
protected java.lang.String columnAttribute
-
length
protected java.lang.Integer length
-
name
protected java.lang.String name
-
node
protected java.lang.String node
-
typeAttribute
protected java.lang.String typeAttribute
-
-
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
-
getType
public JaxbHbmTypeSpecificationType getType()
Gets the value of the type property.- Specified by:
getTypein interfaceTypeContainer- Returns:
- possible object is
JaxbHbmTypeSpecificationType
-
setType
public void setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.- Parameters:
value- allowed object isJaxbHbmTypeSpecificationType
-
getAccess
public java.lang.String getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfaceAttributeMapping- Returns:
- possible object is
String
-
setAccess
public void setAccess(java.lang.String value)
Sets the value of the access property.- Parameters:
value- allowed object isString
-
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
-
getName
public java.lang.String getName()
Gets the value of the name property.- Specified by:
getNamein interfaceAttributeMapping- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getNode
public java.lang.String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(java.lang.String value)
Sets the value of the node property.- Parameters:
value- allowed object isString
-
getTypeAttribute
public java.lang.String getTypeAttribute()
Gets the value of the typeAttribute property.- Specified by:
getTypeAttributein interfaceTypeContainer- Returns:
- possible object is
String
-
setTypeAttribute
public void setTypeAttribute(java.lang.String value)
Sets the value of the typeAttribute property.- Parameters:
value- allowed object isString
-
-