|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.metadata.MetaData
org.jpox.metadata.ExtendableMetaData
org.jpox.metadata.SequenceMetaData
public class SequenceMetaData
Representation of the MetaData of a named Sequence (JDO, or JPA).
| Field Summary | |
|---|---|
protected long |
allocationSize
Allocation size for the sequence (JPA). |
protected java.lang.String |
datastoreSequence
Datastore Sequence name |
protected java.lang.String |
factoryClass
factory class name (JDO). |
protected long |
initialValue
Initial value of the sequence (JPA). |
protected java.lang.String |
name
Name under which this sequence generator is known. |
protected SequenceStrategy |
strategy
Strategy for this sequence (JDO). |
| Fields inherited from class org.jpox.metadata.ExtendableMetaData |
|---|
extensions, JPOX_VENDOR_NAME |
| Fields inherited from class org.jpox.metadata.MetaData |
|---|
LOCALISER, METADATA_CREATED_STATE, METADATA_INITIALISED_STATE, METADATA_POPULATED_STATE, METADATA_USED_STATE, metaDataState, parent |
| Constructor Summary | |
|---|---|
SequenceMetaData(ExtendableMetaData parent,
java.lang.String name,
java.lang.String datastoreSequence,
java.lang.String factoryClass,
java.lang.String strategyValue,
java.lang.String initialValue,
java.lang.String allocationSize)
Constructor. |
|
| Method Summary | |
|---|---|
long |
getAllocationSize()
Accessor for the allocation size of the sequence. |
java.lang.String |
getDatastoreSequence()
Accessor for the sequence name |
java.lang.String |
getFactoryClass()
Accessor for the factory class |
java.lang.String |
getFullyQualifiedName()
Convenience accessor for the fully-qualified name of the sequence. |
long |
getInitialValue()
Accessor for the initial value of the sequence. |
java.lang.String |
getName()
Accessor for the class name. |
SequenceStrategy |
getStrategy()
Accessor for the strategy |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.lang.String prefix,
java.lang.String indent)
Returns a string representation of the object. |
| Methods inherited from class org.jpox.metadata.ExtendableMetaData |
|---|
addExtension, addExtension, getExtension, getExtensions, getNoOfExtensions, getValueForExtension, getValuesForExtension, getValuesForExtensionStartingWith, hasExtension, removeExtension |
| Methods inherited from class org.jpox.metadata.MetaData |
|---|
getParent, initialise, isCreated, isInitialised, isPopulated, isUsed, populate, setInitialised, setPopulated, setUsed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String name
protected java.lang.String datastoreSequence
protected java.lang.String factoryClass
protected SequenceStrategy strategy
protected long initialValue
protected long allocationSize
| Constructor Detail |
|---|
public SequenceMetaData(ExtendableMetaData parent,
java.lang.String name,
java.lang.String datastoreSequence,
java.lang.String factoryClass,
java.lang.String strategyValue,
java.lang.String initialValue,
java.lang.String allocationSize)
parent - The parent of this elementname - The sequence namedatastoreSequence - The datastore sequencefactoryClass - The factory classstrategyValue - The strategy valueinitialValue - Initial valueallocationSize - Allocation size| Method Detail |
|---|
public java.lang.String getFullyQualifiedName()
public java.lang.String getName()
public SequenceStrategy getStrategy()
public java.lang.String getDatastoreSequence()
public java.lang.String getFactoryClass()
public long getInitialValue()
public long getAllocationSize()
public java.lang.String toString()
toString in class ExtendableMetaData
public java.lang.String toString(java.lang.String prefix,
java.lang.String indent)
toString in class ExtendableMetaDataprefix - prefix stringindent - indent string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||