public class JaxbHbmTimestampAttributeType extends JaxbHbmBaseVersionAttributeType implements Serializable, SingularAttributeInfo, ToolingHintContainer
Optimistic locking attribute based on a (last-updated) timestamp.
<p>Java class for TimestampAttributeType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected JaxbHbmTimestampSourceEnum |
source |
protected JaxbHbmUnsavedValueTimestampEnum |
unsavedValue |
access, columnAttribute, generated, name, nodetoolingHints| Constructor and Description |
|---|
JaxbHbmTimestampAttributeType() |
| Modifier and Type | Method and Description |
|---|---|
JaxbHbmTimestampSourceEnum |
getSource()
Gets the value of the source property.
|
JaxbHbmUnsavedValueTimestampEnum |
getUnsavedValue()
Gets the value of the unsavedValue property.
|
void |
setSource(JaxbHbmTimestampSourceEnum value)
Sets the value of the source property.
|
void |
setUnsavedValue(JaxbHbmUnsavedValueTimestampEnum 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 JaxbHbmTimestampSourceEnum source
protected JaxbHbmUnsavedValueTimestampEnum unsavedValue
public JaxbHbmTimestampSourceEnum getSource()
Gets the value of the source property.
JaxbHbmTimestampSourceEnumpublic void setSource(JaxbHbmTimestampSourceEnum value)
Sets the value of the source property.
value - allowed object is
JaxbHbmTimestampSourceEnumpublic JaxbHbmUnsavedValueTimestampEnum getUnsavedValue()
Gets the value of the unsavedValue property.
JaxbHbmUnsavedValueTimestampEnumpublic void setUnsavedValue(JaxbHbmUnsavedValueTimestampEnum value)
Sets the value of the unsavedValue property.
value - allowed object is
JaxbHbmUnsavedValueTimestampEnumCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.