Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmMapKeyBasicType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapKeyBasicType
-
- All Implemented Interfaces:
Serializable,TypeContainer
public class JaxbHbmMapKeyBasicType extends Object implements 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 StringcolumnAttributeprotected List<Serializable>columnOrFormulaprotected StringformulaAttributeprotected Integerlengthprotected Stringnodeprotected JaxbHbmTypeSpecificationTypetypeprotected StringtypeAttribute
-
Constructor Summary
Constructors Constructor Description JaxbHbmMapKeyBasicType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumnAttribute()Gets the value of the columnAttribute property.List<Serializable>getColumnOrFormula()Gets the value of the columnOrFormula property.StringgetFormulaAttribute()Gets the value of the formulaAttribute property.IntegergetLength()Gets the value of the length property.StringgetNode()Gets the value of the node property.JaxbHbmTypeSpecificationTypegetType()Gets the value of the type property.StringgetTypeAttribute()Gets the value of the typeAttribute property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetFormulaAttribute(String value)Sets the value of the formulaAttribute property.voidsetLength(Integer value)Sets the value of the length property.voidsetNode(String value)Sets the value of the node property.voidsetType(JaxbHbmTypeSpecificationType value)Sets the value of the type property.voidsetTypeAttribute(String value)Sets the value of the typeAttribute property.
-
-
-
Field Detail
-
columnOrFormula
protected List<Serializable> columnOrFormula
-
type
protected JaxbHbmTypeSpecificationType type
-
columnAttribute
protected String columnAttribute
-
formulaAttribute
protected String formulaAttribute
-
length
protected Integer length
-
node
protected String node
-
typeAttribute
protected String typeAttribute
-
-
Method Detail
-
getColumnOrFormula
public List<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 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
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
-
getColumnAttribute
public String getColumnAttribute()
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(String value)
Sets the value of the columnAttribute property.- Parameters:
value- allowed object isString
-
getFormulaAttribute
public String getFormulaAttribute()
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.- Parameters:
value- allowed object isString
-
getLength
public Integer getLength()
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
public void setLength(Integer value)
Sets the value of the length property.- Parameters:
value- allowed object isInteger
-
getNode
public String getNode()
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(String value)
Sets the value of the node property.- Parameters:
value- allowed object isString
-
getTypeAttribute
public String getTypeAttribute()
Gets the value of the typeAttribute property.- Specified by:
getTypeAttributein interfaceTypeContainer- Returns:
- possible object is
String
-
-