BEA Systems, Inc.

com.beasys.commerce.foundation.property
Class PropertyDefaultCacheKey

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

public class PropertyDefaultCacheKey
extends java.lang.Object

Lightweight object used as a key for a cache of default values.


Constructor Summary
PropertyDefaultCacheKey(java.lang.String aSchemaGroup, java.lang.String aScope, java.lang.String aProperty)
          Constructor
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object o)
          Standard compareTo operator
 boolean equals(java.lang.Object o)
          Equals operator
 java.lang.String getPropertyName()
           
 java.lang.String getSchemaGroupName()
           
 java.lang.String getScopeName()
           
 int hashCode()
          Calculate a hashCode based on all fields, for lookups in a HashMap
 void setPropertyName(java.lang.String s)
           
 void setSchemaGroupName(java.lang.String s)
           
 void setScopeName(java.lang.String s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDefaultCacheKey

public PropertyDefaultCacheKey(java.lang.String aSchemaGroup,
                               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

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

setSchemaGroupName

public void setSchemaGroupName(java.lang.String s)

getSchemaGroupName

public java.lang.String getSchemaGroupName()

setScopeName

public void setScopeName(java.lang.String s)

getScopeName

public java.lang.String getScopeName()

setPropertyName

public void setPropertyName(java.lang.String s)

getPropertyName

public java.lang.String getPropertyName()

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved