Class PortalStorageKey

java.lang.Object
com.axemble.vdoc.sdk.impl.PortalStorageKey
All Implemented Interfaces:
IStorageKey, Serializable

public class PortalStorageKey extends Object implements IStorageKey
Author:
vlygeros
See Also:
  • Field Details

    • storageKey

      protected Object storageKey
  • Constructor Details

    • PortalStorageKey

      protected PortalStorageKey(Object storageKey)
  • Method Details

    • getNativeObject

      public Object getNativeObject()
      Description copied from interface: IStorageKey
      Gets the native key object.
      Specified by:
      getNativeObject in interface IStorageKey
      Returns:
      The native key as an Object value.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toInteger

      public Integer toInteger()
      Description copied from interface: IStorageKey
      Converts the key to an Integer value.
      Specified by:
      toInteger in interface IStorageKey
      Returns:
      The key as an Integer value.
    • toInt

      public int toInt()
      Description copied from interface: IStorageKey
      Converts the key to a primitive integer value.
      Specified by:
      toInt in interface IStorageKey
      Returns:
      A primitive integer value.
    • toLong

      public Long toLong()
      Description copied from interface: IStorageKey
      Converts the key to a Long value.
      Specified by:
      toLong in interface IStorageKey
      Returns:
      A Long value.
    • toSerializable

      public Serializable toSerializable()
      Description copied from interface: IStorageKey
      Converts the key to a Serializable value.
      Specified by:
      toSerializable in interface IStorageKey
      Returns:
      The key as an Serializable value.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object