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; }
<p>Java class for sequence-generator complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
allocationSize |
protected String |
catalog |
protected String |
description |
protected Integer |
initialValue |
protected String |
name |
protected String |
schema |
protected String |
sequenceName |
| Constructor and Description |
|---|
SequenceGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAllocationSize()
Gets the value of the allocationSize property.
|
String |
getCatalog()
Gets the value of the catalog property.
|
String |
getDescription()
Gets the value of the description property.
|
Integer |
getInitialValue()
Gets the value of the initialValue property.
|
String |
getName()
Gets the value of the name property.
|
String |
getSchema()
Gets the value of the schema property.
|
String |
getSequenceName()
Gets the value of the sequenceName property.
|
void |
setAllocationSize(Integer value)
Sets the value of the allocationSize property.
|
void |
setCatalog(String value)
Sets the value of the catalog property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setInitialValue(Integer value)
Sets the value of the initialValue property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSchema(String value)
Sets the value of the schema property.
|
void |
setSequenceName(String value)
Sets the value of the sequenceName property.
|
protected String description
protected String name
protected String sequenceName
protected String catalog
protected String schema
protected Integer initialValue
protected Integer allocationSize
public String getDescription()
Gets the value of the description property.
Stringpublic void setDescription(String value)
Sets the value of the description property.
value - allowed object is
Stringpublic String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic String getSequenceName()
Gets the value of the sequenceName property.
Stringpublic void setSequenceName(String value)
Sets the value of the sequenceName property.
value - allowed object is
Stringpublic String getCatalog()
Gets the value of the catalog property.
Stringpublic void setCatalog(String value)
Sets the value of the catalog property.
value - allowed object is
Stringpublic String getSchema()
Gets the value of the schema property.
Stringpublic void setSchema(String value)
Sets the value of the schema property.
value - allowed object is
Stringpublic Integer getInitialValue()
Gets the value of the initialValue property.
Integerpublic void setInitialValue(Integer value)
Sets the value of the initialValue property.
value - allowed object is
Integerpublic Integer getAllocationSize()
Gets the value of the allocationSize property.
IntegerCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.