Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmMapKeyBasicType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapKeyBasicType
- All Implemented Interfaces:
Serializable,TypeContainer
Describes the key of a java.util.Map where the key is a basic (JPA term) type
Java 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<Serializable>protected Stringprotected Integerprotected Stringprotected JaxbHbmTypeSpecificationTypeprotected String -
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.getType()Gets the value of the type property.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.voidSets the value of the length property.voidSets the value of the node property.voidSets the value of the type property.voidsetTypeAttribute(String value) Sets the value of the typeAttribute property.
-
Field Details
-
columnOrFormula
-
type
-
columnAttribute
-
formulaAttribute
-
length
-
node
-
typeAttribute
-
-
Constructor Details
-
JaxbHbmMapKeyBasicType
public JaxbHbmMapKeyBasicType()
-
-
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 JAXB 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
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
Sets the value of the columnAttribute property.- Parameters:
value- allowed object isString
-
getFormulaAttribute
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
Sets the value of the formulaAttribute property.- Parameters:
value- allowed object isString
-
getLength
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
Sets the value of the length property.- Parameters:
value- allowed object isInteger
-
getNode
Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
Sets the value of the node property.- Parameters:
value- allowed object isString
-
getTypeAttribute
Gets the value of the typeAttribute property.- Specified by:
getTypeAttributein interfaceTypeContainer- Returns:
- possible object is
String
-
setTypeAttribute
Sets the value of the typeAttribute property.- Parameters:
value- allowed object isString
-