ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm20
Interface SequenceGenerator<T>

All Superinterfaces:
Child<T>

public interface SequenceGenerator<T>
extends Child<T>

This interface defines the contract for the sequence-generator xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 SequenceGenerator<T> allocationSize(Integer allocationSize)
          Sets the allocation-size attribute
 SequenceGenerator<T> catalog(String catalog)
          Sets the catalog attribute
 SequenceGenerator<T> description(String description)
          Sets the description element
 Integer getAllocationSize()
          Returns the allocation-size attribute
 String getCatalog()
          Returns the catalog attribute
 String getDescription()
          Returns the description element
 Integer getInitialValue()
          Returns the initial-value attribute
 String getName()
          Returns the name attribute
 String getSchema()
          Returns the schema attribute
 String getSequenceName()
          Returns the sequence-name attribute
 SequenceGenerator<T> initialValue(Integer initialValue)
          Sets the initial-value attribute
 SequenceGenerator<T> name(String name)
          Sets the name attribute
 SequenceGenerator<T> removeAllocationSize()
          Removes the allocation-size attribute
 SequenceGenerator<T> removeCatalog()
          Removes the catalog attribute
 SequenceGenerator<T> removeDescription()
          Removes the description element
 SequenceGenerator<T> removeInitialValue()
          Removes the initial-value attribute
 SequenceGenerator<T> removeName()
          Removes the name attribute
 SequenceGenerator<T> removeSchema()
          Removes the schema attribute
 SequenceGenerator<T> removeSequenceName()
          Removes the sequence-name attribute
 SequenceGenerator<T> schema(String schema)
          Sets the schema attribute
 SequenceGenerator<T> sequenceName(String sequenceName)
          Sets the sequence-name attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

SequenceGenerator<T> description(String description)
Sets the description element

Parameters:
description - the value for the element description
Returns:
the current instance of SequenceGenerator

getDescription

String getDescription()
Returns the description element

Returns:
the node defined for the element description

removeDescription

SequenceGenerator<T> removeDescription()
Removes the description element

Returns:
the current instance of SequenceGenerator

name

SequenceGenerator<T> name(String name)
Sets the name attribute

Parameters:
name - the value for the attribute name
Returns:
the current instance of SequenceGenerator

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

SequenceGenerator<T> removeName()
Removes the name attribute

Returns:
the current instance of SequenceGenerator

sequenceName

SequenceGenerator<T> sequenceName(String sequenceName)
Sets the sequence-name attribute

Parameters:
sequenceName - the value for the attribute sequence-name
Returns:
the current instance of SequenceGenerator

getSequenceName

String getSequenceName()
Returns the sequence-name attribute

Returns:
the value defined for the attribute sequence-name

removeSequenceName

SequenceGenerator<T> removeSequenceName()
Removes the sequence-name attribute

Returns:
the current instance of SequenceGenerator

catalog

SequenceGenerator<T> catalog(String catalog)
Sets the catalog attribute

Parameters:
catalog - the value for the attribute catalog
Returns:
the current instance of SequenceGenerator

getCatalog

String getCatalog()
Returns the catalog attribute

Returns:
the value defined for the attribute catalog

removeCatalog

SequenceGenerator<T> removeCatalog()
Removes the catalog attribute

Returns:
the current instance of SequenceGenerator

schema

SequenceGenerator<T> schema(String schema)
Sets the schema attribute

Parameters:
schema - the value for the attribute schema
Returns:
the current instance of SequenceGenerator

getSchema

String getSchema()
Returns the schema attribute

Returns:
the value defined for the attribute schema

removeSchema

SequenceGenerator<T> removeSchema()
Removes the schema attribute

Returns:
the current instance of SequenceGenerator

initialValue

SequenceGenerator<T> initialValue(Integer initialValue)
Sets the initial-value attribute

Parameters:
initialValue - the value for the attribute initial-value
Returns:
the current instance of SequenceGenerator

getInitialValue

Integer getInitialValue()
Returns the initial-value attribute

Returns:
the value defined for the attribute initial-value

removeInitialValue

SequenceGenerator<T> removeInitialValue()
Removes the initial-value attribute

Returns:
the current instance of SequenceGenerator

allocationSize

SequenceGenerator<T> allocationSize(Integer allocationSize)
Sets the allocation-size attribute

Parameters:
allocationSize - the value for the attribute allocation-size
Returns:
the current instance of SequenceGenerator

getAllocationSize

Integer getAllocationSize()
Returns the allocation-size attribute

Returns:
the value defined for the attribute allocation-size

removeAllocationSize

SequenceGenerator<T> removeAllocationSize()
Removes the allocation-size attribute

Returns:
the current instance of SequenceGenerator

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.