Class JCoManagedFunctionCacheKey
- java.lang.Object
-
- de.hybris.platform.sap.core.jco.connection.impl.JCoManagedFunctionCacheKey
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_JCO_TYPECODEDefault typecode used if no other is specified.
-
Constructor Summary
Constructors Constructor Description JCoManagedFunctionCacheKey(java.lang.Object key)Creates GenericCacheKey for given key and type code.JCoManagedFunctionCacheKey(java.lang.Object key, java.lang.String typeCode)Creates GenericCacheKey for given key and type code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CacheUnitValueTypegetCacheValueType()gets value type.java.lang.StringgetTenantId()Gets tenantjava.lang.ObjectgetTypeCode()Gets code from typesystem.inthashCode()
-
-
-
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 GenericCacheKeytypeCode- 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:
hashCodein classjava.lang.Object
-
getTenantId
public java.lang.String getTenantId()
Description copied from interface:CacheKeyGets tenant- Specified by:
getTenantIdin interfaceCacheKey
-
getTypeCode
public java.lang.Object getTypeCode()
Description copied from interface:CacheKeyGets code from typesystem.- Specified by:
getTypeCodein interfaceCacheKey
-
getCacheValueType
public CacheUnitValueType getCacheValueType()
Description copied from interface:CacheKeygets value type. Currently not used. To be used in hybris 5.- Specified by:
getCacheValueTypein interfaceCacheKey
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-