org.hydrateframework
Interface ObjectFamily


public interface ObjectFamily


Method Summary
 ObjectContext createObjectContext(boolean readWrite, boolean lazyLoad)
          Create a configured object context.
 java.lang.String getName()
           
 ObjectKey makeKey(java.lang.Class forClass, java.lang.String keyName, java.lang.Object key)
          Make a key that is suitable for indexing a class in this family.
 

Method Detail

createObjectContext

ObjectContext createObjectContext(boolean readWrite,
                                  boolean lazyLoad)
Create a configured object context.

Parameters:
readWrite -
lazyLoad -

makeKey

ObjectKey makeKey(java.lang.Class forClass,
                  java.lang.String keyName,
                  java.lang.Object key)
Make a key that is suitable for indexing a class in this family.

Parameters:
forClass - the class to be indexed
keyName - the name of the key or null for the primary key.
key - the key attribute (or attributes - it can be an array).
Returns:

getName

java.lang.String getName()


Copyright © 2000 The Hydrate Project. All Rights Reserved.