Package net.sf.basedb.core
Class ContextKey
java.lang.Object
net.sf.basedb.core.ContextKey
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2024-10-28 13:06:20 +0100 (Mon, 28 Oct 2024) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionContextKey
(Item item, String subContext) Create a new ContextKey object fromItem
and it's subcontext. -
Method Summary
-
Field Details
-
item
-
subContext
-
-
Constructor Details
-
ContextKey
Create a new ContextKey object fromItem
and it's subcontext.
-
-
Method Details
-
getItem
- Returns:
- The
Item
that belongs to this object.
-
getSubContext
- Returns:
- A
String
with the subcontext.
-
equals
Check if this object is equal to anotherContextKey
object. They are equal if both have the same item and subcontext. -
hashCode
public int hashCode()Calculate the hash code for the object.
-