Class JCoManagedFunctionCacheKey

  • All Implemented Interfaces:
    CacheKey

    public class JCoManagedFunctionCacheKey
    extends java.lang.Object
    implements CacheKey
    The JCoManagedFunctionCacheKey is a simple implemantation of the CacheKey and is used within JCoManagedFunctionCache.
    • Field Detail

      • DEFAULT_JCO_TYPECODE

        public static final java.lang.String DEFAULT_JCO_TYPECODE
        Default typecode used if no other is specified.
        See Also:
        Constant Field Values
    • Constructor Detail

      • JCoManagedFunctionCacheKey

        public JCoManagedFunctionCacheKey​(java.lang.Object key,
                                          java.lang.String typeCode)
        Creates GenericCacheKey for given key and type code.
        Parameters:
        key - key of the GenericCacheKey
        typeCode - typecode of the GenericCacheKey
      • JCoManagedFunctionCacheKey

        public JCoManagedFunctionCacheKey​(java.lang.Object key)
        Creates GenericCacheKey for given key and type code.
        Parameters:
        key - key of the GenericCacheKey
    • Method Detail

      • hashCode

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

        public java.lang.String getTenantId()
        Description copied from interface: CacheKey
        Gets tenant
        Specified by:
        getTenantId in interface CacheKey
      • getTypeCode

        public java.lang.Object getTypeCode()
        Description copied from interface: CacheKey
        Gets code from typesystem.
        Specified by:
        getTypeCode in interface CacheKey
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object