|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IdentityStrategy | |
org.jpox.metadata | Provides classes representing the MetaData for files, packages, classes, fields, containers, etc. |
org.jpox.store | Definition of the storage of the classes. |
org.jpox.store.rdbms | Package providing management of the persistence to RDBMS datastores. |
Uses of IdentityStrategy in org.jpox.metadata |
Fields in org.jpox.metadata declared as IdentityStrategy | |
static IdentityStrategy |
IdentityStrategy.NATIVE
strategy="native" The value "native" allows the JDO implementation to pick the most suitable strategy based on the underlying database. |
static IdentityStrategy |
IdentityStrategy.SEQUENCE
strategy="sequence" The value "sequence" specifies that a named database sequence is used to generate key values for the table. |
static IdentityStrategy |
IdentityStrategy.AUTOASSIGN
strategy="autoassign" The value "autoassign" specifies that the column identified as the key column is managed by the database to automatically increment key values. |
static IdentityStrategy |
IdentityStrategy.IDENTITY
strategy="identity" The value "identity" specifies that the column identified as the key column is managed by the database as an autoincrementing identity type. |
static IdentityStrategy |
IdentityStrategy.INCREMENT
strategy="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 IdentityStrategy |
IdentityStrategy.UUIDSTRING
strategy="uuid-string" The value "uuid-string" specifies a strategy that generates a 128-bit UUID unique within a network (the IP address of the machine running the application is part of the id) and represents the result as a 16-character String. |
static IdentityStrategy |
IdentityStrategy.UUIDHEX
strategy="uuid-hex" The value "uuid-hex" specifies a strategy that generates a 128-bit UUID unique within a network (the IP address of the machine running the application is part of the id) and represents the result as a 32-character String. |
static IdentityStrategy |
IdentityStrategy.MAX
strategy="max" The value "max" specifies a strategy that simply finds the maximum for a column and increments the value by 1. |
static IdentityStrategy |
IdentityStrategy.AUID
strategy="auid" The value "auid" specifies a strategy that creates a pure UUID identity using the OpenGroup specification for UUID. |
static IdentityStrategy |
IdentityStrategy.CUSTOM
strategy="custom" The value "custom" specifies a strategy that uses a user own generator class. |
protected IdentityStrategy |
AbstractPropertyMetaData.valueStrategy
The value-strategy attribute specifies the strategy used to generate values for the field. |
protected IdentityStrategy |
IdentityMetaData.strategy
strategy tag value. |
Methods in org.jpox.metadata that return IdentityStrategy | |
static IdentityStrategy |
IdentityStrategy.getIdentityStrategy(java.lang.String value)
Gets an IdentityStrategy for the given value argument. |
IdentityStrategy |
AbstractPropertyMetaData.getValueStrategy()
The value-strategy attribute specifies the strategy used to generate values for the field. |
IdentityStrategy |
IdentityMetaData.getStrategyValue()
Accessor for the strategy tag value |
Methods in org.jpox.metadata with parameters of type IdentityStrategy | |
void |
AbstractPropertyMetaData.setValueStrategy(IdentityStrategy valueStrategy)
The value-strategy attribute specifies the strategy used to generate values for the field. |
Uses of IdentityStrategy in org.jpox.store |
Methods in org.jpox.store with parameters of type IdentityStrategy | |
boolean |
StoreManager.isStrategyDatastoreAttributed(IdentityStrategy identityStrategy)
Check if the strategy is attributed by the database when the PersistenceCapable object is inserted into the database |
abstract java.lang.Object |
StoreManager.getStrategyValue(PersistenceManager pm,
DatastoreClass table,
AbstractClassMetaData cmd,
int absoluteFieldNumber,
IdentityStrategy strategy,
java.lang.String sequence,
ExtensionMetaData[] extensions)
Method to retrieve the value for a strategy for a particular field. |
Uses of IdentityStrategy in org.jpox.store.rdbms |
Methods in org.jpox.store.rdbms with parameters of type IdentityStrategy | |
java.lang.Object |
RDBMSManager.getStrategyValue(PersistenceManager pm,
DatastoreClass table,
AbstractClassMetaData cmd,
int absoluteFieldNumber,
IdentityStrategy strategy,
java.lang.String sequence,
ExtensionMetaData[] extensions)
Method to return the value for the specified strategy. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |