Class ReminderIdentifier

    • Constructor Detail

      • ReminderIdentifier

        public ReminderIdentifier()
    • Method Detail

      • fromString

        public ReminderIdentifier fromString​(String id)
        Description copied from interface: EntityIdentifier
        Sets the identifier's value from its given String representation.
        Specified by:
        fromString in interface EntityIdentifier
        Parameters:
        id - the encoded value of the identifier.
        Returns:
        the identifier decoded from the specified String representation.
      • generateNewId

        public ReminderIdentifier generateNewId​(String... parameters)
        Description copied from interface: EntityIdentifier
        Generates a new unique entity identifier. "Auto-Increment" identifiers must implement this method.
        Specified by:
        generateNewId in interface EntityIdentifier
        Parameters:
        parameters - the parameters required in the generation of the new identifier. Those depends on the kind of entity identifier and they must be documented in the concrete class.
        Returns:
        a new identifier.
      • hashCode

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

        public String asString()
        Description copied from interface: ResourceIdentifier
        Gets the value of this identifier as a String.
        Specified by:
        asString in interface ResourceIdentifier
        Returns:
        the String representation of this identifier.