Class JaxbSequenceGeneratorImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbSequenceGeneratorImpl
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the allocationSize property.Gets the value of the catalog property.Gets the value of the description property.Gets the value of the initialValue property.getName()Gets the value of the name property.Gets the value of the options property.Gets the value of the schema property.Gets the value of the sequenceName property.voidsetAllocationSize(Integer value) Sets the value of the allocationSize property.voidsetCatalog(String value) Sets the value of the catalog property.voidsetDescription(String value) Sets the value of the description property.voidsetInitialValue(Integer value) Sets the value of the initialValue property.voidSets the value of the name property.voidsetOptions(String value) Sets the value of the options property.voidSets the value of the schema property.voidsetSequenceName(String value) Sets the value of the sequenceName property.
-
Field Details
-
description
-
name
-
sequenceName
-
catalog
-
schema
-
initialValue
-
allocationSize
-
options
-
-
Constructor Details
-
JaxbSequenceGeneratorImpl
public JaxbSequenceGeneratorImpl()
-
-
Method Details
-
getDescription
-
setDescription
-
getName
-
setName
-
getSequenceName
-
setSequenceName
-
getCatalog
Gets the value of the catalog property.- Specified by:
getCatalogin interfaceJaxbSchemaAware- Returns:
- possible object is
String
-
setCatalog
Sets the value of the catalog property.- Specified by:
setCatalogin interfaceJaxbSchemaAware- Parameters:
value- allowed object isString
-
getSchema
Gets the value of the schema property.- Specified by:
getSchemain interfaceJaxbSchemaAware- Returns:
- possible object is
String
-
setSchema
Sets the value of the schema property.- Specified by:
setSchemain interfaceJaxbSchemaAware- Parameters:
value- allowed object isString
-
getInitialValue
-
setInitialValue
-
getAllocationSize
-
setAllocationSize
-
getOptions
-
setOptions
-