org.apache.cayenne.jpa.map
Class JpaSequenceGenerator
java.lang.Object
org.apache.cayenne.jpa.map.JpaSequenceGenerator
- All Implemented Interfaces:
- XMLSerializable
public class JpaSequenceGenerator
- extends Object
- implements XMLSerializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
sequenceName
protected String sequenceName
initialValue
protected int initialValue
allocationSize
protected int allocationSize
JpaSequenceGenerator
public JpaSequenceGenerator()
JpaSequenceGenerator
public JpaSequenceGenerator(javax.persistence.SequenceGenerator annotation)
encodeAsXML
public void encodeAsXML(XMLEncoder encoder)
- Description copied from interface:
XMLSerializable
- Prints itself as XML to the provided XMLEncoder.
- Specified by:
encodeAsXML
in interface XMLSerializable
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-2008 Apache Cayenne. All Rights Reserved.