Uses of Class
org.datanucleus.metadata.ValueGenerationStrategy
Packages that use ValueGenerationStrategy
Package
Description
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
-
Uses of ValueGenerationStrategy in org.datanucleus.metadata
Fields in org.datanucleus.metadata declared as ValueGenerationStrategyModifier and TypeFieldDescriptionstatic final ValueGenerationStrategyValueGenerationStrategy.AUIDThe value "auid" specifies a strategy that is a Java implementation of DCE UUIDs, and represents the results as a 36-character String.static final ValueGenerationStrategyValueGenerationStrategy.CUSTOMExtension strategy, that will have the "customName" set to the chosen strategy.static final ValueGenerationStrategyValueGenerationStrategy.IDENTITYThe value "identity" specifies that the column identified as the key column is managed by the database as an auto-incrementing identity type.static final ValueGenerationStrategyValueGenerationStrategy.INCREMENTThe value "increment" specifies a strategy that simply finds the largest key already in the database and increments the key value for new instances.static final ValueGenerationStrategyValueGenerationStrategy.NATIVEThe value "native" allows the JDO implementation to pick the most suitable strategy based on the underlying database.static final ValueGenerationStrategyValueGenerationStrategy.SEQUENCEThe value "sequence" specifies that a named database sequence is used to generate key values for the table.protected ValueGenerationStrategyDatastoreIdentityMetaData.strategystrategy tag value.static final ValueGenerationStrategyValueGenerationStrategy.TIMESTAMPThe value "timestamp" specifies a strategy that uses the Java "Timestamp" class, and represents the results as a Timestamp object.static final ValueGenerationStrategyValueGenerationStrategy.TIMESTAMP_VALUEThe value "timestamp-value" specifies a strategy that uses the Java "Timestamp" class, and represents the results as a Long.static final ValueGenerationStrategyValueGenerationStrategy.UUIDThe value "uuid" specifies a strategy that uses the Java "UUID" class, and represents the results as a 36-character String.static final ValueGenerationStrategyValueGenerationStrategy.UUID_OBJECTThe value "uuid-object" specifies a strategy that uses the Java "UUID" class, and represents the results as a UUID object.static final ValueGenerationStrategyValueGenerationStrategy.UUIDHEXThe 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 final ValueGenerationStrategyValueGenerationStrategy.UUIDSTRINGThe 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 ValueGenerationStrategyAbstractMemberMetaData.valueStrategyThe value-strategy attribute specifies the strategy used to generate values for the field.Methods in org.datanucleus.metadata that return ValueGenerationStrategyModifier and TypeMethodDescriptionstatic ValueGenerationStrategyValueGenerationStrategy.getIdentityStrategy(String value) Gets an IdentityStrategy for the given value argument.AbstractMemberMetaData.getValueStrategy()DatastoreIdentityMetaData.getValueStrategy()Methods in org.datanucleus.metadata with parameters of type ValueGenerationStrategyModifier and TypeMethodDescriptionvoidAbstractMemberMetaData.setValueStrategy(ValueGenerationStrategy valueStrategy) DatastoreIdentityMetaData.setValueStrategy(ValueGenerationStrategy strategy)