Interface IDefinitionIdentifier


  • public interface IDefinitionIdentifier
    The component identifier interface. It allows to determine the definition uniquely.
    Each implementation of this interface should override #equals(Object) and #hashCode() correctly.
    • Method Detail

      • matches

        boolean matches​(Object id)
        Checks whether the identifier matches the specified id.
        Parameters:
        id - the object that represents identifier, cannot be null.
        Returns:
        true if the identifier matches the specified object, false - otherwise.