Class JaxbSequenceGeneratorImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbSequenceGeneratorImpl
All Implemented Interfaces:
Serializable, JaxbSchemaAware

public class JaxbSequenceGeneratorImpl extends Object implements Serializable, JaxbSchemaAware
@Repeatable(SequenceGenerators.class) @Target({TYPE, METHOD, FIELD, PACKAGE}) @Retention(RUNTIME) public @interface SequenceGenerator { String name() default ""; String sequenceName() default ""; String catalog() default ""; String schema() default ""; int initialValue() default 1; int allocationSize() default 50; String options() default ""; } <p>Java class for sequence-generator complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <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" 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" /> <attribute name="options" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> }</pre>
See Also:
  • Field Details

    • description

      protected String description
    • name

      protected String name
    • sequenceName

      protected String sequenceName
    • catalog

      protected String catalog
    • schema

      protected String schema
    • initialValue

      protected Integer initialValue
    • allocationSize

      protected Integer allocationSize
    • options

      protected String options
  • Constructor Details

    • JaxbSequenceGeneratorImpl

      public JaxbSequenceGeneratorImpl()
  • Method Details

    • 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
    • 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.
      Specified by:
      getCatalog in interface JaxbSchemaAware
      Returns:
      possible object is String
    • setCatalog

      public void setCatalog(String value)
      Sets the value of the catalog property.
      Specified by:
      setCatalog in interface JaxbSchemaAware
      Parameters:
      value - allowed object is String
    • getSchema

      public String getSchema()
      Gets the value of the schema property.
      Specified by:
      getSchema in interface JaxbSchemaAware
      Returns:
      possible object is String
    • setSchema

      public void setSchema(String value)
      Sets the value of the schema property.
      Specified by:
      setSchema in interface JaxbSchemaAware
      Parameters:
      value - allowed object is String
    • 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
    • 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
    • getOptions

      public String getOptions()
      Gets the value of the options property.
      Returns:
      possible object is String
    • setOptions

      public void setOptions(String value)
      Sets the value of the options property.
      Parameters:
      value - allowed object is String