Class SystemIdentifier
- java.lang.Object
-
- de.aristaflow.adept2.model.globals.SystemIdentifier
-
public final class SystemIdentifier extends Object
Manages a list of all registered system-specifiedIdentifier
s. 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Returns the description of the system identifier.static SystemIdentifier[]
getSystemIdentifiers()
Returns all registered system identifiers in an array.UUID
id()
Returns the ID of the system identifier.static boolean
isSystemIdentifier(UUID identifierID)
Returns whether the specified identifier ID belongs to one of the registered system identifiers.String
name()
Returns the name of the system identifier.
-
-
-
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
-
-