Modifier and Type | Method and Description |
---|---|
String |
getColumn()
Accessor for the datastore identity column name.
|
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the datastore identity.
|
String |
getCustomStrategy()
Accessor for the custom strategy (overriding "strategy").
|
int |
getNumberOfColumns()
Accessor for the number of columns defined for this datastore identity.
|
String |
getSequence()
Accessor for the sequence key (when using "sequence" strategy)
|
IdGeneratorStrategy |
getStrategy()
Accessor for the identity generation strategy.
|
ColumnMetadata |
newColumnMetadata()
Add a new column for this datastore identity.
|
DatastoreIdentityMetadata |
setColumn(String column)
Method to set the datastore identity column name.
|
DatastoreIdentityMetadata |
setCustomStrategy(String strategy)
Method to set the custom identity generation strategy.
|
DatastoreIdentityMetadata |
setSequence(String seq)
Method to set the sequence key (when using "sequence" strategy).
|
DatastoreIdentityMetadata |
setStrategy(IdGeneratorStrategy strategy)
Method to set the identity generation strategy.
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
DatastoreIdentityMetadata setColumn(String column)
column
- Name of the datastore identity columnString getColumn()
DatastoreIdentityMetadata setStrategy(IdGeneratorStrategy strategy)
strategy
- The strategyIdGeneratorStrategy getStrategy()
DatastoreIdentityMetadata setCustomStrategy(String strategy)
strategy
- The strategyString getCustomStrategy()
DatastoreIdentityMetadata setSequence(String seq)
seq
- Sequence keyString getSequence()
ColumnMetadata[] getColumns()
ColumnMetadata newColumnMetadata()
int getNumberOfColumns()
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.