Uses of Class
org.apache.torque.om.ObjectKey

Packages that use ObjectKey
org.apache.torque.manager A manager/factory API for use with Torque-generated data beans. 
org.apache.torque.om API for the classic Torque-generated object model. 
org.apache.torque.util Misc. 
 

Uses of ObjectKey in org.apache.torque.manager
 

Methods in org.apache.torque.manager with parameters of type ObjectKey
protected  Persistent AbstractBaseManager.getOMInstance(ObjectKey id)
          Return an instance of an om based on the id
protected  Persistent AbstractBaseManager.getOMInstance(ObjectKey key, boolean fromCache)
          Return an instance of an om based on the id
protected  java.util.List AbstractBaseManager.getOMs(ObjectKey[] ids)
          Gets a list of om's based on id's.
protected abstract  Persistent AbstractBaseManager.retrieveStoredOM(ObjectKey id)
          Retrieve an object from persistent storage
 

Uses of ObjectKey in org.apache.torque.om
 

Subclasses of ObjectKey in org.apache.torque.om
 class ComboKey
          This class can be used as an ObjectKey to uniquely identify an object within an application where the key consists of multiple entities (such a String[] representing a multi-column primary key).
 class DateKey
          This class can be used as an ObjectKey to uniquely identify an object within an application where the id is a Date.
 class NumberKey
          This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a single entity such a GUID or the value of a db row's primary key.
 class SimpleKey
          This empty class marks an ObjectKey as being capable of being represented as a single column in a database.
 class StringKey
          This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a single entity such a GUID or the value of a db row's primary key.
 

Methods in org.apache.torque.om that return ObjectKey
 ObjectKey Persistent.getPrimaryKey()
          getter for the object primaryKey.
 ObjectKey BaseObject.getPrimaryKey()
          getter for the object primaryKey.
 

Methods in org.apache.torque.om with parameters of type ObjectKey
 void Persistent.setPrimaryKey(ObjectKey primaryKey)
          Sets the PrimaryKey for the object.
 void BaseObject.setPrimaryKey(ObjectKey primaryKey)
          Sets the PrimaryKey for the object as an Object.
 

Uses of ObjectKey in org.apache.torque.util
 

Methods in org.apache.torque.util that return ObjectKey
static ObjectKey BasePeer.doInsert(Criteria criteria)
          Method to perform inserts based on values and keys in a Criteria.
static ObjectKey BasePeer.doInsert(Criteria criteria, java.sql.Connection con)
          Method to perform inserts based on values and keys in a Criteria.
 ObjectKey Criteria.getObjectKey(java.lang.String name)
          Convenience method to return an ObjectKey.
 ObjectKey Criteria.getObjectKey(java.lang.String table, java.lang.String column)
          Convenience method to return an ObjectKey.
 



Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.