Class JaxbHbmVersionAttributeType

  • All Implemented Interfaces:
    Serializable, AttributeMapping, SingularAttributeInfo, ToolingHintContainer

    public class JaxbHbmVersionAttributeType
    extends JaxbHbmBaseVersionAttributeType
    implements 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 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 Jakarta XML Binding 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

        Returns:
        The value of the column property.
      • isInsert

        public Boolean isInsert()
        Gets the value of the insert property.
        Returns:
        possible object is Boolean
      • setInsert

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

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

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