Class JPAStorageRecord.RecordId

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        serial version UID.
        See Also:
        Constant Field Values
      • context

        private String context
        Context string.
      • key

        private String key
        Key string.
    • Constructor Detail

      • RecordId

        public RecordId()
        Default constructor.
      • RecordId

        public RecordId​(@Nonnull @NotEmpty
                        String ctx,
                        @Nonnull @NotEmpty
                        String k)
        Creates a new record Id.
        Parameters:
        ctx - context
        k - key
    • Method Detail

      • getContext

        @Nonnull
        public String getContext()
        Returns the context.
        Returns:
        context
      • setContext

        public void setContext​(@Nonnull @NotEmpty
                               String ctx)
        Sets the context.
        Parameters:
        ctx - to set
      • getKey

        @Nonnull
        public String getKey()
        Returns the key.
        Returns:
        key
      • setKey

        public void setKey​(@Nonnull @NotEmpty
                           String k)
        Sets the key.
        Parameters:
        k - to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object