类 JaxbHbmIndexType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmIndexType
-
- 所有已实现的接口:
Serializable
public class JaxbHbmIndexType extends Object implements 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' insteadJava 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>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<JaxbHbmColumnType>columnprotected StringcolumnAttributeprotected Integerlengthprotected Stringtype
-
构造器概要
构造器 构造器 说明 JaxbHbmIndexType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<JaxbHbmColumnType>getColumn()Gets the value of the column property.StringgetColumnAttribute()Gets the value of the columnAttribute property.IntegergetLength()Gets the value of the length property.StringgetType()Gets the value of the type property.voidsetColumnAttribute(String value)Sets the value of the columnAttribute property.voidsetLength(Integer value)Sets the value of the length property.voidsetType(String value)Sets the value of the type property.
-
-
-
字段详细资料
-
column
protected List<JaxbHbmColumnType> column
-
columnAttribute
protected String columnAttribute
-
length
protected Integer length
-
type
protected String type
-
-
方法详细资料
-
getColumn
public 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
-
getColumnAttribute
public String getColumnAttribute()
Gets the value of the columnAttribute property.- 返回:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(String value)
Sets the value of the columnAttribute property.- 参数:
value- allowed object isString
-
getLength
public Integer getLength()
Gets the value of the length property.- 返回:
- possible object is
Integer
-
setLength
public void setLength(Integer value)
Sets the value of the length property.- 参数:
value- allowed object isInteger
-
-