Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmMapKeyBasicType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapKeyBasicType
-
- All Implemented Interfaces:
java.io.Serializable
,TypeContainer
public class JaxbHbmMapKeyBasicType extends java.lang.Object implements java.io.Serializable, TypeContainer
Describes the key of a java.util.Map where the key is a basic (JPA term) typeJava class for MapKeyBasicType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MapKeyBasicType"> <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="type" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
columnAttribute
protected java.util.List<java.io.Serializable>
columnOrFormula
protected java.lang.String
formulaAttribute
protected java.lang.Integer
length
protected java.lang.String
node
protected JaxbHbmTypeSpecificationType
type
protected java.lang.String
typeAttribute
-
Constructor Summary
Constructors Constructor Description JaxbHbmMapKeyBasicType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getColumnAttribute()
Gets the value of the columnAttribute property.java.util.List<java.io.Serializable>
getColumnOrFormula()
Gets the value of the columnOrFormula property.java.lang.String
getFormulaAttribute()
Gets the value of the formulaAttribute property.java.lang.Integer
getLength()
Gets the value of the length property.java.lang.String
getNode()
Gets the value of the node property.JaxbHbmTypeSpecificationType
getType()
Gets the value of the type property.java.lang.String
getTypeAttribute()
Gets the value of the typeAttribute property.void
setColumnAttribute(java.lang.String value)
Sets the value of the columnAttribute property.void
setFormulaAttribute(java.lang.String value)
Sets the value of the formulaAttribute property.void
setLength(java.lang.Integer value)
Sets the value of the length property.void
setNode(java.lang.String value)
Sets the value of the node property.void
setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.void
setTypeAttribute(java.lang.String value)
Sets the value of the typeAttribute property.
-
-
-
Field Detail
-
columnOrFormula
protected java.util.List<java.io.Serializable> columnOrFormula
-
type
protected JaxbHbmTypeSpecificationType type
-
columnAttribute
protected java.lang.String columnAttribute
-
formulaAttribute
protected java.lang.String formulaAttribute
-
length
protected java.lang.Integer length
-
node
protected java.lang.String node
-
typeAttribute
protected java.lang.String typeAttribute
-
-
Method Detail
-
getColumnOrFormula
public java.util.List<java.io.Serializable> 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 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
-
getType
public JaxbHbmTypeSpecificationType getType()
Gets the value of the type property.- Specified by:
getType
in interfaceTypeContainer
- Returns:
- possible object is
JaxbHbmTypeSpecificationType
-
setType
public void setType(JaxbHbmTypeSpecificationType value)
Sets the value of the type property.- Parameters:
value
- allowed object isJaxbHbmTypeSpecificationType
-
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
-
getFormulaAttribute
public java.lang.String getFormulaAttribute()
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(java.lang.String value)
Sets the value of the formulaAttribute 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
-
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:
getTypeAttribute
in 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
-
-