Package helma.objectmodel.db
Class MultiKey
java.lang.Object
helma.objectmodel.db.MultiKey
- All Implemented Interfaces:
Key
,Serializable
This is the internal representation of a database key with multiple
columns. It is constructed from the logical table (type) name and the
column name/column value pairs that identify the key's object
NOTE: This class doesn't fully support the Key interface - getID always
returns null since there is no unique key (at least we don't know about it).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MultiKey
Make a key for a persistent Object, describing its datasource and key parts.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getParentKey
Description copied from interface:Key
Get the key's parent key- Specified by:
getParentKey
in interfaceKey
- Returns:
- the key of this key's object's parent object
-
getStorageName
Description copied from interface:Key
Get the key's storage type name- Specified by:
getStorageName
in interfaceKey
- Returns:
- the unique storage name for this key's object
-
getID
Description copied from interface:Key
Get the key's ID part -
toString
-