BEA Systems, Inc.

com.beasys.commerce.foundation.property
Class EntityPropertyCacheKey

java.lang.Object
  |
  +--com.beasys.commerce.foundation.property.EntityPropertyCacheKey

public class EntityPropertyCacheKey
extends java.lang.Object

Lightweight object used as a key for a cache of entity properties.


Constructor Summary
EntityPropertyCacheKey(java.lang.String aScope, java.lang.String aProperty)
          Constructor
 
Method Summary
 int compareTo(java.lang.Object o)
          Standard compareTo operator
 boolean equals(java.lang.Object o)
          Equals operator
 int hashCode()
          Calculate a hashCode based on all fields, for lookups in a HashMap
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityPropertyCacheKey

public EntityPropertyCacheKey(java.lang.String aScope,
                              java.lang.String aProperty)
Constructor
Method Detail

equals

public boolean equals(java.lang.Object o)
Equals operator
Overrides:
equals in class java.lang.Object
Parameters:
o - the object to compare
Returns:
true if it is the same kind of object, and all fields match

compareTo

public int compareTo(java.lang.Object o)
Standard compareTo operator

hashCode

public int hashCode()
Calculate a hashCode based on all fields, for lookups in a HashMap
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved