Class Version


  • public class Version
    extends Object
    Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Version {}

    Java class for version complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="version">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="column" type="{http://java.sun.com/xml/ns/persistence/orm}column" minOccurs="0"/>
             <element name="temporal" type="{http://java.sun.com/xml/ns/persistence/orm}temporal" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Version

        public Version()
    • Method Detail

      • getColumn

        public Column getColumn()
        Gets the value of the column property.
        Returns:
        possible object is Column
      • setColumn

        public void setColumn​(Column value)
        Sets the value of the column property.
        Parameters:
        value - allowed object is Column
      • getTemporal

        public TemporalType getTemporal()
        Gets the value of the temporal property.
        Returns:
        possible object is TemporalType
      • setTemporal

        public void setTemporal​(TemporalType value)
        Sets the value of the temporal property.
        Parameters:
        value - allowed object is TemporalType
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getAccess

        public AccessType getAccess()
        Gets the value of the access property.
        Returns:
        possible object is AccessType
      • setAccess

        public void setAccess​(AccessType value)
        Sets the value of the access property.
        Parameters:
        value - allowed object is AccessType