public class SequenceMetaData extends MetaData
Modifier and Type | Field and Description |
---|---|
protected int |
allocationSize
Allocation size for the sequence.
|
protected String |
datastoreSequence
Datastore Sequence name
|
protected String |
factoryClass
factory class name (JDO).
|
protected int |
initialValue
Initial value of the sequence.
|
protected String |
name
Name under which this sequence generator is known.
|
protected SequenceStrategy |
strategy
Strategy for this sequence (JDO).
|
EXTENSION_CLASS_MULTITENANCY_COLUMN_LENGTH, EXTENSION_CLASS_MULTITENANCY_COLUMN_NAME, EXTENSION_CLASS_MULTITENANCY_DISABLE, EXTENSION_CLASS_MULTITENANCY_JDBC_TYPE, EXTENSION_CLASS_READ_ONLY, EXTENSION_CLASS_VERSION_FIELD_NAME, EXTENSION_MEMBER_CACHEABLE, EXTENSION_MEMBER_CALENDAR_ONE_COLUMN, EXTENSION_MEMBER_CASCADE_PERSIST, EXTENSION_MEMBER_CASCADE_REFRESH, EXTENSION_MEMBER_CASCADE_UPDATE, EXTENSION_MEMBER_COMPARATOR_NAME, EXTENSION_MEMBER_CONTAINER_ALLOW_NULLS, EXTENSION_MEMBER_ENUM_GETTER_BY_VALUE, EXTENSION_MEMBER_ENUM_VALUE_GETTER, EXTENSION_MEMBER_FETCH_FK_ONLY, EXTENSION_MEMBER_IMPLEMENTATION_CLASSES, EXTENSION_MEMBER_INSERTABLE, EXTENSION_MEMBER_LIST_ORDERING, EXTENSION_MEMBER_STRATEGY_WHEN_NOTNULL, EXTENSION_MEMBER_TYPE_CONVERTER_DISABLED, EXTENSION_MEMBER_TYPE_CONVERTER_NAME, EXTENSION_MEMBER_UPDATEABLE, extensions, METADATA_CREATED_STATE, METADATA_INITIALISED_STATE, METADATA_POPULATED_STATE, METADATA_USED_STATE, metaDataState, parent, VENDOR_NAME
Constructor and Description |
---|
SequenceMetaData(String name,
String strategyValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getAllocationSize() |
String |
getDatastoreSequence() |
String |
getFactoryClass() |
String |
getFullyQualifiedName()
Convenience accessor for the fully-qualified name of the sequence.
|
int |
getInitialValue() |
String |
getName() |
SequenceStrategy |
getStrategy() |
SequenceMetaData |
setAllocationSize(int allocationSize) |
SequenceMetaData |
setAllocationSize(String allocationSize) |
SequenceMetaData |
setDatastoreSequence(String datastoreSequence) |
SequenceMetaData |
setFactoryClass(String factoryClass) |
SequenceMetaData |
setInitialValue(int initialValue) |
SequenceMetaData |
setInitialValue(String initialValue) |
SequenceMetaData |
setName(String name) |
SequenceMetaData |
setStrategy(SequenceStrategy strategy) |
String |
toString(String prefix,
String indent)
Returns a string representation of the object.
|
addExtension, addExtension, getExtensions, getNoOfExtensions, getParent, getValueForExtension, getValuesForExtension, hasExtension, initialise, isInitialised, isPopulated, isUsed, newExtensionMetaData, removeExtension, setParent, toString
protected String name
protected String datastoreSequence
protected String factoryClass
protected SequenceStrategy strategy
protected int initialValue
protected int allocationSize
public String getFullyQualifiedName()
public String getName()
public SequenceMetaData setName(String name)
public SequenceStrategy getStrategy()
public SequenceMetaData setStrategy(SequenceStrategy strategy)
public String getDatastoreSequence()
public SequenceMetaData setDatastoreSequence(String datastoreSequence)
public String getFactoryClass()
public SequenceMetaData setFactoryClass(String factoryClass)
public int getInitialValue()
public SequenceMetaData setInitialValue(int initialValue)
public SequenceMetaData setInitialValue(String initialValue)
public int getAllocationSize()
public SequenceMetaData setAllocationSize(int allocationSize)
public SequenceMetaData setAllocationSize(String allocationSize)
Copyright © 2017. All rights reserved.