ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm10
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:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 SequenceGenerator<T> allocationSize(Integer allocationSize)
          Sets the allocation-size attribute
 Integer getAllocationSize()
          Returns the allocation-size attribute
 Integer getInitialValue()
          Returns the initial-value attribute
 String getName()
          Returns the name 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> removeInitialValue()
          Removes the initial-value attribute
 SequenceGenerator<T> removeName()
          Removes the name attribute
 SequenceGenerator<T> removeSequenceName()
          Removes the sequence-name attribute
 SequenceGenerator<T> sequenceName(String sequenceName)
          Sets the sequence-name attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

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

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.