Class MetadataEntityKey

  • All Implemented Interfaces:
    Serializable

    @Embeddable
    public class MetadataEntityKey
    extends Object
    implements Serializable
    Embedded entity which serves as primary key for metadata. Bytes representing the key are hashed via SHA-256.
    Author:
    vjuranek
    See Also:
    Serialized Form
    • Constructor Detail

      • MetadataEntityKey

        public MetadataEntityKey()
      • MetadataEntityKey

        public MetadataEntityKey​(byte[] keyBytes)
    • Method Detail

      • getKeySha

        public String getKeySha()
      • setKeySha

        public void setKeySha​(String keySha)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getKeyBytesSha

        public static String getKeyBytesSha​(byte[] keyBytes)