Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmIndexType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmIndexType
- All Implemented Interfaces:
Serializable
Describes the index of an indexed collection. Indexed collection means either
a java.util.List, a persistent array or a java.util.Map.
For a List or array, this describes the list/array index value. Should prefer
to use 'list-index' instead.
For a Map, this describes the Map key value. Should prefer to use 'map-key' instead
Java class for index-type complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="index-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<JaxbHbmColumnType>protected Stringprotected Integerprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the column property.Gets the value of the columnAttribute property.Gets the value of the length property.getType()Gets the value of the type property.voidsetColumnAttribute(String value) Sets the value of the columnAttribute property.voidSets the value of the length property.voidSets the value of the type property.
-
Field Details
-
column
-
columnAttribute
-
length
-
type
-
-
Constructor Details
-
JaxbHbmIndexType
public JaxbHbmIndexType()
-
-
Method Details
-
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- Returns:
- The value of the column property.
-
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
-
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
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-