Package org.hibernate.boot.jaxb.hbm.spi
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.
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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JaxbHbmTimestampSourceEnumprotected JaxbHbmUnsavedValueTimestampEnumFields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBaseVersionAttributeType
access, columnAttribute, generated, name, nodeFields inherited from class org.hibernate.boot.jaxb.hbm.spi.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 org.hibernate.boot.jaxb.hbm.spi.JaxbHbmBaseVersionAttributeType
getAccess, getColumnAttribute, getGenerated, getName, getNode, setAccess, setColumnAttribute, setGenerated, setName, setNodeMethods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.jaxb.hbm.spi.AttributeMapping
getAccess, getNameMethods inherited from interface org.hibernate.boot.jaxb.hbm.spi.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
-