public class JaxbHbmVersionAttributeType extends JaxbHbmBaseVersionAttributeType implements Serializable, SingularAttributeInfo, ToolingHintContainer
Optimistic locking attribute based on an incrementing value.
<p>Java class for VersionAttributeType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="VersionAttributeType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}BaseVersionAttributeType"> <sequence> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="integer" /> <attribute name="unsaved-value" type="{http://www.hibernate.org/xsd/orm/hbm}UnsavedValueVersionEnum" default="undefined" /> </extension> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected List<JaxbHbmColumnType> |
column |
protected Boolean |
insert |
protected String |
type |
protected JaxbHbmUnsavedValueVersionEnum |
unsavedValue |
access, columnAttribute, generated, name, nodetoolingHints| Constructor and Description |
|---|
JaxbHbmVersionAttributeType() |
| Modifier and Type | Method and Description |
|---|---|
List<JaxbHbmColumnType> |
getColumn()
Gets the value of the column property.
|
String |
getType()
Gets the value of the type property.
|
JaxbHbmUnsavedValueVersionEnum |
getUnsavedValue()
Gets the value of the unsavedValue property.
|
Boolean |
isInsert()
Gets the value of the insert property.
|
void |
setInsert(Boolean value)
Sets the value of the insert property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setUnsavedValue(JaxbHbmUnsavedValueVersionEnum value)
Sets the value of the unsavedValue property.
|
getAccess, getColumnAttribute, getGenerated, getName, getNode, setAccess, setColumnAttribute, setGenerated, setName, setNodegetToolingHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccess, getNamegetToolingHintsprotected List<JaxbHbmColumnType> column
protected Boolean insert
protected String type
protected JaxbHbmUnsavedValueVersionEnum unsavedValue
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 Boolean isInsert()
Gets the value of the insert property.
Booleanpublic void setInsert(Boolean value)
Sets the value of the insert property.
value - allowed object is
Booleanpublic String getType()
Gets the value of the type property.
Stringpublic void setType(String value)
Sets the value of the type property.
value - allowed object is
Stringpublic JaxbHbmUnsavedValueVersionEnum getUnsavedValue()
Gets the value of the unsavedValue property.
JaxbHbmUnsavedValueVersionEnumpublic void setUnsavedValue(JaxbHbmUnsavedValueVersionEnum value)
Sets the value of the unsavedValue property.
value - allowed object is
JaxbHbmUnsavedValueVersionEnumCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.