Class SystemIdentifier


  • public final class SystemIdentifier
    extends Object
    Manages a list of all registered system-specified Identifiers. This class can e.g. be used by the activity repository - when it is initialised for the first time - to automatically create these identifiers.
    Author:
    Patrick Schmidt
    • Method Detail

      • id

        public UUID id()
        Returns the ID of the system identifier.
        Returns:
        the ID of the system identifier
        See Also:
        Identifier.getID()
      • name

        public String name()
        Returns the name of the system identifier.
        Returns:
        the name of the system identifier
        See Also:
        Identifier.getName()
      • description

        public String description()
        Returns the description of the system identifier.
        Returns:
        the description of the system identifier
        See Also:
        Identifier.getDescription()
      • getSystemIdentifiers

        public static SystemIdentifier[] getSystemIdentifiers()
        Returns all registered system identifiers in an array.
        Returns:
        all registered system identifiers in an array
      • isSystemIdentifier

        public static boolean isSystemIdentifier​(UUID identifierID)
        Returns whether the specified identifier ID belongs to one of the registered system identifiers.
        Parameters:
        identifierID - the identifier ID to be tested
        Returns:
        whether the specified identifier ID belongs to one of the registered system identifiers