Class JaxbHbmVersionAttributeType

  • All Implemented Interfaces:
    java.io.Serializable, AttributeMapping, SingularAttributeInfo, ToolingHintContainer

    public class JaxbHbmVersionAttributeType
    extends JaxbHbmBaseVersionAttributeType
    implements java.io.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>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxbHbmVersionAttributeType

        public JaxbHbmVersionAttributeType()
    • Method Detail

      • getColumn

        public java.util.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 set method 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 java.lang.Boolean isInsert()
        Gets the value of the insert property.
        Returns:
        possible object is Boolean
      • setInsert

        public void setInsert​(java.lang.Boolean value)
        Sets the value of the insert property.
        Parameters:
        value - allowed object is Boolean
      • getType

        public java.lang.String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(java.lang.String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String