Class CacheUniqueKey

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CacheUniqueKey>

    public class CacheUniqueKey
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<CacheUniqueKey>
    Key representing a unique key for a persistable object. This is used to cache a CachedPC against a key other than its primary key.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int hashCode  
      private static long serialVersionUID  
      (package private) java.lang.String toString  
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheUniqueKey​(java.lang.String className, java.lang.String[] fieldNames, java.lang.Object[] fieldValues)
      Constructor for a unique cache key.
    • Field Detail

      • toString

        java.lang.String toString
      • hashCode

        int hashCode
    • Constructor Detail

      • CacheUniqueKey

        public CacheUniqueKey​(java.lang.String className,
                              java.lang.String[] fieldNames,
                              java.lang.Object[] fieldValues)
        Constructor for a unique cache key.
        Parameters:
        className - Name of the class of the persistable object
        fieldNames - Names of the fields used to form the unique key
        fieldValues - Values of the fields used to form the unique key
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

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