Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbSequenceGenerator

extends Object
implements Serializable, SchemaAware
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.spi.SchemaAware, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:sequence-generator
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:description
Imports
java.io.Serializable, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

@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 Summary

Modifier and TypeField and Description
protected Integer
protected String
protected String
protected Integer
protected String
protected String
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Integer

Returns:

possible object is Integer
getAllocationSize
()

Gets the value of the allocationSize property.

public String

Returns:

possible object is String
getCatalog
()

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.getCatalog.

Gets the value of the catalog property.
public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public Integer

Returns:

possible object is Integer
getInitialValue
()

Gets the value of the initialValue property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public String

Returns:

possible object is String
getSchema
()

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.getSchema.

Gets the value of the schema property.
public String

Returns:

possible object is String
getSequenceName
()

Gets the value of the sequenceName property.

public void
setAllocationSize(Integer
allowed object is Integer
value
)

Sets the value of the allocationSize property.

public void
setCatalog(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.setCatalog.

Sets the value of the catalog property.
public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setInitialValue(Integer
allowed object is Integer
value
)

Sets the value of the initialValue property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

public void
setSchema(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.setSchema.

Sets the value of the schema property.
public void
setSequenceName(String
allowed object is String
value
)

Sets the value of the sequenceName property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allocationSizeback to summary
protected Integer allocationSize
Annotations
@XmlAttribute
name:allocation-size
catalogback to summary
protected String catalog
Annotations
@XmlAttribute
name:catalog
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
initialValueback to summary
protected Integer initialValue
Annotations
@XmlAttribute
name:initial-value
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
schemaback to summary
protected String schema
Annotations
@XmlAttribute
name:schema
sequenceNameback to summary
protected String sequenceName
Annotations
@XmlAttribute
name:sequence-name

Constructor Detail

JaxbSequenceGeneratorback to summary
public JaxbSequenceGenerator()

Method Detail

getAllocationSizeback to summary
public Integer getAllocationSize()

Gets the value of the allocationSize property.

Returns:Integer

possible object is Integer

getCatalogback to summary
public String getCatalog()

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.getCatalog.

Gets the value of the catalog property.

Returns:String

possible object is String

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getInitialValueback to summary
public Integer getInitialValue()

Gets the value of the initialValue property.

Returns:Integer

possible object is Integer

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

getSchemaback to summary
public String getSchema()

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.getSchema.

Gets the value of the schema property.

Returns:String

possible object is String

getSequenceNameback to summary
public String getSequenceName()

Gets the value of the sequenceName property.

Returns:String

possible object is String

setAllocationSizeback to summary
public void setAllocationSize(Integer value)

Sets the value of the allocationSize property.

Parameters
value:Integer

allowed object is Integer

setCatalogback to summary
public void setCatalog(String value)

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.setCatalog.

Sets the value of the catalog property.

Parameters
value:String

allowed object is String

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setInitialValueback to summary
public void setInitialValue(Integer value)

Sets the value of the initialValue property.

Parameters
value:Integer

allowed object is Integer

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String

setSchemaback to summary
public void setSchema(String value)

Implements org.hibernate.boot.jaxb.mapping.spi.SchemaAware.setSchema.

Sets the value of the schema property.

Parameters
value:String

allowed object is String

setSequenceNameback to summary
public void setSequenceName(String value)

Sets the value of the sequenceName property.

Parameters
value:String

allowed object is String