Class 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
- All Implemented Interfaces:
Serializable, AttributeMapping, SingularAttributeInfo, ToolingHintContainer
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>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JaxbHbmTimestampSourceEnumprotected JaxbHbmUnsavedValueTimestampEnumFields inherited from class JaxbHbmBaseVersionAttributeType
access, columnAttribute, generated, name, nodeFields inherited from class JaxbHbmToolingHintContainer
toolingHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the source property.Gets the value of the unsavedValue property.voidSets the value of the source property.voidSets the value of the unsavedValue property.Methods inherited from class JaxbHbmBaseVersionAttributeType
getAccess, getColumnAttribute, getGenerated, getName, getNode, setAccess, setColumnAttribute, setGenerated, setName, setNodeMethods inherited from class JaxbHbmToolingHintContainer
getToolingHintsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributeMapping
getAccess, getNameMethods inherited from interface ToolingHintContainer
getToolingHints
-
Field Details
-
source
-
unsavedValue
-
-
Constructor Details
-
JaxbHbmTimestampAttributeType
public JaxbHbmTimestampAttributeType()
-
-
Method Details
-
getSource
Gets the value of the source property.- Returns:
- possible object is
JaxbHbmTimestampSourceEnum
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isJaxbHbmTimestampSourceEnum
-
getUnsavedValue
Gets the value of the unsavedValue property.- Returns:
- possible object is
JaxbHbmUnsavedValueTimestampEnum
-
setUnsavedValue
Sets the value of the unsavedValue property.- Parameters:
value- allowed object isJaxbHbmUnsavedValueTimestampEnum
-