类 JaxbHbmVersionAttributeType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBaseVersionAttributeType
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmVersionAttributeType
-
public class JaxbHbmVersionAttributeType extends JaxbHbmBaseVersionAttributeType implements Serializable, SingularAttributeInfo, ToolingHintContainer
Optimistic locking attribute based on an incrementing value.Java class for VersionAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<JaxbHbmColumnType>columnprotected Booleaninsertprotected Stringtypeprotected JaxbHbmUnsavedValueVersionEnumunsavedValue-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBaseVersionAttributeType
access, columnAttribute, generated, name, node
-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmVersionAttributeType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<JaxbHbmColumnType>getColumn()Gets the value of the column property.StringgetType()Gets the value of the type property.JaxbHbmUnsavedValueVersionEnumgetUnsavedValue()Gets the value of the unsavedValue property.BooleanisInsert()Gets the value of the insert property.voidsetInsert(Boolean value)Sets the value of the insert property.voidsetType(String value)Sets the value of the type property.voidsetUnsavedValue(JaxbHbmUnsavedValueVersionEnum value)Sets the value of the unsavedValue property.-
从类继承的方法 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBaseVersionAttributeType
getAccess, getColumnAttribute, getGenerated, getName, getNode, setAccess, setColumnAttribute, setGenerated, setName, setNode
-
从类继承的方法 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.jaxb.hbm.spi.AttributeMapping
getAccess, getName
-
从接口继承的方法 org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
-
-
-
字段详细资料
-
column
protected List<JaxbHbmColumnType> column
-
insert
protected Boolean insert
-
type
protected String type
-
unsavedValue
protected JaxbHbmUnsavedValueVersionEnum unsavedValue
-
-
方法详细资料
-
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
-
isInsert
public Boolean isInsert()
Gets the value of the insert property.- 返回:
- possible object is
Boolean
-
setInsert
public void setInsert(Boolean value)
Sets the value of the insert property.- 参数:
value- allowed object isBoolean
-
setType
public void setType(String value)
Sets the value of the type property.- 参数:
value- allowed object isString
-
getUnsavedValue
public JaxbHbmUnsavedValueVersionEnum getUnsavedValue()
Gets the value of the unsavedValue property.- 返回:
- possible object is
JaxbHbmUnsavedValueVersionEnum
-
setUnsavedValue
public void setUnsavedValue(JaxbHbmUnsavedValueVersionEnum value)
Sets the value of the unsavedValue property.- 参数:
value- allowed object isJaxbHbmUnsavedValueVersionEnum
-
-