Package | Description |
---|---|
org.datanucleus.metadata |
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
|
Modifier and Type | Field and Description |
---|---|
static ValueGenerationStrategy |
ValueGenerationStrategy.AUID
The value "auid" specifies a strategy that is a Java implementation of DCE UUIDs, and represents the results as a 36-character String.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.CUSTOM
Extension strategy, that will have the "customName" set to the chosen strategy.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.IDENTITY
The value "identity" specifies that the column identified as the key column is managed by the database as an auto-incrementing identity type.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.INCREMENT
The value "increment" specifies a strategy that simply finds the largest key already in the database and increments the key value for new instances.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.NATIVE
The value "native" allows the JDO implementation to pick the most suitable strategy based on the underlying database.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.SEQUENCE
The value "sequence" specifies that a named database sequence is used to generate key values for the table.
|
protected ValueGenerationStrategy |
IdentityMetaData.strategy
strategy tag value.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.TIMESTAMP
The value "timestamp" specifies a strategy that uses the Java "Timestamp" class, and represents the results as a Timestamp object.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.TIMESTAMP_VALUE
The value "timestamp-value" specifies a strategy that uses the Java "Timestamp" class, and represents the results as a Long.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.UUID
The value "uuid" specifies a strategy that uses the Java "UUID" class, and represents the results as a 36-character String.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.UUID_OBJECT
The value "uuid-object" specifies a strategy that uses the Java "UUID" class, and represents the results as a UUID object.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.UUIDHEX
The value "uuid-hex" specifies a strategy that generates a 128-bit UUID unique within a network, and represents the result as a 32-character String.
|
static ValueGenerationStrategy |
ValueGenerationStrategy.UUIDSTRING
The value "uuid-string" specifies a strategy that generates a 128-bit UUID unique within a network, and represents the result as a 16-character String.
|
protected ValueGenerationStrategy |
AbstractMemberMetaData.valueStrategy
The value-strategy attribute specifies the strategy used to generate
values for the field.
|
Modifier and Type | Method and Description |
---|---|
static ValueGenerationStrategy |
ValueGenerationStrategy.getIdentityStrategy(String value)
Gets an IdentityStrategy for the given value argument.
|
ValueGenerationStrategy |
IdentityMetaData.getValueStrategy() |
ValueGenerationStrategy |
AbstractMemberMetaData.getValueStrategy() |
Modifier and Type | Method and Description |
---|---|
IdentityMetaData |
IdentityMetaData.setValueStrategy(ValueGenerationStrategy strategy) |
void |
AbstractMemberMetaData.setValueStrategy(ValueGenerationStrategy valueStrategy) |
Copyright © 2019. All rights reserved.