类 JaxbHbmTimestampAttributeType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBaseVersionAttributeType
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTimestampAttributeType
-
public class JaxbHbmTimestampAttributeType extends JaxbHbmBaseVersionAttributeType implements Serializable, SingularAttributeInfo, ToolingHintContainer
Optimistic locking attribute based on a (last-updated) timestamp.Java class for TimestampAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TimestampAttributeType"> <complexContent> <extension base="{http://www.hibernate.org/xsd/orm/hbm}BaseVersionAttributeType"> <attribute name="source" type="{http://www.hibernate.org/xsd/orm/hbm}TimestampSourceEnum" default="vm" /> <attribute name="unsaved-value" type="{http://www.hibernate.org/xsd/orm/hbm}UnsavedValueTimestampEnum" default="null" /> </extension> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected JaxbHbmTimestampSourceEnumsourceprotected JaxbHbmUnsavedValueTimestampEnumunsavedValue-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBaseVersionAttributeType
access, columnAttribute, generated, name, node
-
从类继承的字段 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
构造器概要
构造器 构造器 说明 JaxbHbmTimestampAttributeType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JaxbHbmTimestampSourceEnumgetSource()Gets the value of the source property.JaxbHbmUnsavedValueTimestampEnumgetUnsavedValue()Gets the value of the unsavedValue property.voidsetSource(JaxbHbmTimestampSourceEnum value)Sets the value of the source property.voidsetUnsavedValue(JaxbHbmUnsavedValueTimestampEnum 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
-
-
-
-
字段详细资料
-
source
protected JaxbHbmTimestampSourceEnum source
-
unsavedValue
protected JaxbHbmUnsavedValueTimestampEnum unsavedValue
-
-
方法详细资料
-
getSource
public JaxbHbmTimestampSourceEnum getSource()
Gets the value of the source property.- 返回:
- possible object is
JaxbHbmTimestampSourceEnum
-
setSource
public void setSource(JaxbHbmTimestampSourceEnum value)
Sets the value of the source property.- 参数:
value- allowed object isJaxbHbmTimestampSourceEnum
-
getUnsavedValue
public JaxbHbmUnsavedValueTimestampEnum getUnsavedValue()
Gets the value of the unsavedValue property.- 返回:
- possible object is
JaxbHbmUnsavedValueTimestampEnum
-
setUnsavedValue
public void setUnsavedValue(JaxbHbmUnsavedValueTimestampEnum value)
Sets the value of the unsavedValue property.- 参数:
value- allowed object isJaxbHbmUnsavedValueTimestampEnum
-
-