Class SequenceGenerator


  • public class SequenceGenerator
    extends Object
    Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) public @interface SequenceGenerator { String name(); String sequenceName() default ""; String catalog() default ""; String schema() default ""; int initialValue() default 1; int allocationSize() default 50; }

    Java class for sequence-generator complex type.

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

     <complexType name="sequence-generator">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="sequence-name" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="initial-value" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="allocation-size" type="{http://www.w3.org/2001/XMLSchema}int" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • description

        protected String description
      • allocationSize

        protected Integer allocationSize
      • initialValue

        protected Integer initialValue
      • sequenceName

        protected String sequenceName
      • catalog

        protected String catalog
      • schema

        protected String schema
    • Constructor Detail

      • SequenceGenerator

        public SequenceGenerator()
    • Method Detail

      • getDescription

        public String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getAllocationSize

        public Integer getAllocationSize()
        Gets the value of the allocationSize property.
        Returns:
        possible object is Integer
      • setAllocationSize

        public void setAllocationSize​(Integer value)
        Sets the value of the allocationSize property.
        Parameters:
        value - allowed object is Integer
      • getInitialValue

        public Integer getInitialValue()
        Gets the value of the initialValue property.
        Returns:
        possible object is Integer
      • setInitialValue

        public void setInitialValue​(Integer value)
        Sets the value of the initialValue property.
        Parameters:
        value - allowed object is Integer
      • 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
      • getSequenceName

        public String getSequenceName()
        Gets the value of the sequenceName property.
        Returns:
        possible object is String
      • setSequenceName

        public void setSequenceName​(String value)
        Sets the value of the sequenceName property.
        Parameters:
        value - allowed object is String
      • getCatalog

        public String getCatalog()
        Gets the value of the catalog property.
        Returns:
        possible object is String
      • setCatalog

        public void setCatalog​(String value)
        Sets the value of the catalog property.
        Parameters:
        value - allowed object is String
      • getSchema

        public String getSchema()
        Gets the value of the schema property.
        Returns:
        possible object is String
      • setSchema

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