org.apache.cayenne.jpa.map
Class JpaSequenceGenerator

java.lang.Object
  extended by org.apache.cayenne.jpa.map.JpaSequenceGenerator

public class JpaSequenceGenerator
extends Object


Field Summary
protected  int allocationSize
           
protected  int initialValue
           
protected  String name
           
protected  String sequenceName
           
 
Constructor Summary
JpaSequenceGenerator()
           
JpaSequenceGenerator(SequenceGenerator annotation)
           
 
Method Summary
 int getAllocationSize()
           
 int getInitialValue()
           
 String getName()
           
 String getSequenceName()
           
 void setAllocationSize(int allocationSize)
           
 void setInitialValue(int initialValue)
           
 void setName(String name)
           
 void setSequenceName(String sequenceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

sequenceName

protected String sequenceName

initialValue

protected int initialValue

allocationSize

protected int allocationSize
Constructor Detail

JpaSequenceGenerator

public JpaSequenceGenerator()

JpaSequenceGenerator

public JpaSequenceGenerator(SequenceGenerator annotation)
Method Detail

getAllocationSize

public int getAllocationSize()

setAllocationSize

public void setAllocationSize(int allocationSize)

getInitialValue

public int getInitialValue()

setInitialValue

public void setInitialValue(int initialValue)

getName

public String getName()

setName

public void setName(String name)

getSequenceName

public String getSequenceName()

setSequenceName

public void setSequenceName(String sequenceName)


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.