|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SequenceMetadata
Represents a sequence.
| Method Summary | |
|---|---|
Integer |
getAllocationSize()
Accessor for the allocation size of the sequence (if any). |
String |
getDatastoreSequence()
Accessor for the name of the datastore sequence that this maps to |
String |
getFactoryClass()
Accessor for the factory class for this sequence. |
Integer |
getInitialValue()
Accessor for the initial value of the sequence (if any). |
String |
getName()
Accessor for the name of the sequence (set on construction). |
SequenceStrategy |
getSequenceStrategy()
Accessor for the sequence strategy (set on construction). |
SequenceMetadata |
setAllocationSize(int size)
Method to set the allocation size for the sequence |
SequenceMetadata |
setDatastoreSequence(String seq)
Method to set the name of the datastore sequence that this maps to. |
SequenceMetadata |
setFactoryClass(String clsName)
Method to set the result class name for the query |
SequenceMetadata |
setInitialValue(int val)
Method to set the initial value for the sequence |
| Methods inherited from interface javax.jdo.metadata.Metadata |
|---|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata |
| Method Detail |
|---|
String getName()
SequenceStrategy getSequenceStrategy()
SequenceMetadata setDatastoreSequence(String seq)
seq - Datastore sequence nameString getDatastoreSequence()
SequenceMetadata setFactoryClass(String clsName)
clsName - Result class nameString getFactoryClass()
SequenceMetadata setInitialValue(int val)
val - Initial value to useInteger getInitialValue()
SequenceMetadata setAllocationSize(int size)
size - Allocation size to useInteger getAllocationSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||