For a List or array, this describes the list/array index value. Should prefer to use 'list-index' instead.
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' instead
<p>Java class for index-type complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
Modifier and Type | Field and Description |
---|---|
protected List<JaxbHbmColumnType> |
column |
protected String |
columnAttribute |
protected Integer |
length |
protected String |
type |
Constructor and Description |
---|
JaxbHbmIndexType() |
Modifier and Type | Method and Description |
---|---|
List<JaxbHbmColumnType> |
getColumn()
Gets the value of the column property.
|
String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
Integer |
getLength()
Gets the value of the length property.
|
String |
getType()
Gets the value of the type property.
|
void |
setColumnAttribute(String value)
Sets the value of the columnAttribute property.
|
void |
setLength(Integer value)
Sets the value of the length property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected List<JaxbHbmColumnType> column
protected String columnAttribute
protected Integer length
protected String type
public List<JaxbHbmColumnType> getColumn()
Gets the value of the column property.
<p> 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 <CODE>set</CODE> method for the column property.
<p> For example, to add a new item, do as follows: <pre> getColumn().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
public String getColumnAttribute()
Gets the value of the columnAttribute property.
String
public void setColumnAttribute(String value)
Sets the value of the columnAttribute property.
value
- allowed object is
String
public Integer getLength()
Gets the value of the length property.
Integer
public void setLength(Integer value)
Sets the value of the length property.
value
- allowed object is
Integer
public String getType()
Gets the value of the type property.
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.