Enum Class SystemDataProducer
java.lang.Object
java.lang.Enum<SystemDataProducer>
de.aristaflow.adept2.model.processmodel.systemdata.SystemDataProducer
- All Implemented Interfaces:
LocalisedString,Serializable,Comparable<SystemDataProducer>,java.lang.constant.Constable
This enumeration represents all process model methods that can produce
system data, that is data which can be used normally in the data flow of a
process. This is used for instance for dependent staff assignment rules
(a node is to be performed by the same agent as some other node before). Such
data is modelled explicitly as system parameters of a node which write an
existing data element. The
Data provided by templates and instances is written by the corresponding start node.
ExecutionManager takes care of
retrieving the values from the process model methods and writing them to the
corresponding data elements in the DataManager. Data provided by templates and instances is written by the corresponding start node.
Every element of this enumeration represents a Parameter which
is to be added at the corresponding node.
- Author:
- Ulrich Kreher
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the date/time an instance has been created for usage as a value of a data element.Represents the agent ID of the instance initiator for usage as a value of a data element.Represents the organisational position ID of the instance initiator for usage as a value of a data element.Represents the agent ID of the instance supervisor for usage as a value of a data element.Represents the organisational position ID of the instance supervisor for usage as a value of a data element.Represents the agent ID of the agent performing the designated node for usage as a value of a data element.Represents the organisational ID of the agent performing the designated node for usage as a value of a data element.Represents a staff assignment rule of a specific node for usage as a value of a data element.Represents the date/time a node has been terminated for usage as a value of a data element.Represents the agent ID of the template supervisor for usage as a value of a data element.Represents the organisational position ID of the template supervisor for usage as a value of a data element. -
Method Summary
Modifier and TypeMethodDescriptionGets the system data producer that is a companion of this.Gets a parameter object providing all properties for the corresponding implicit system parameterstatic SystemDataProducergetProducerForIdentifierID(UUID identifierID) Returns theSystemDataProducermatching the specified identifier ID ornullif there exists none.static SystemDataProducer[]Gets all the values that are produced by arbitrary nodes.static SystemDataProducer[]Gets all the values that are produced by the start node, that is, the data stems from template or instance objects.toLocalisedString(LocalisationFactory locFac, Locale loc) Gets the localised representation of the implementing object.static SystemDataProducerReturns the enum constant of this class with the specified name.static SystemDataProducer[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEMPLATE_SUPERVISOR_AGENT_ID
Represents the agent ID of the template supervisor for usage as a value of a data element.Template.getSupervisorAgent()QualifiedAgent.getAgentID() -
TEMPLATE_SUPERVISOR_ORGPOSITION_ID
Represents the organisational position ID of the template supervisor for usage as a value of a data element.Template.getSupervisorAgent()QualifiedAgent.getOrgPositionID() -
INSTANCE_SUPERVISOR_AGENT_ID
Represents the agent ID of the instance supervisor for usage as a value of a data element.Instance.getSupervisorAgent()QualifiedAgent.getAgentID() -
INSTANCE_SUPERVISOR_ORGPOSITION_ID
Represents the organisational position ID of the instance supervisor for usage as a value of a data element.Instance.getSupervisorAgent()QualifiedAgent.getOrgPositionID() -
INSTANCE_INITIATOR_AGENT_ID
Represents the agent ID of the instance initiator for usage as a value of a data element.Instance.getInitiatorAgent()QualifiedAgent.getAgentID() -
INSTANCE_INITIATOR_ORGPOSITION_ID
Represents the organisational position ID of the instance initiator for usage as a value of a data element.Instance.getInitiatorAgent()QualifiedAgent.getOrgPositionID() -
NODE_PERFORMING_AGENT_ID
Represents the agent ID of the agent performing the designated node for usage as a value of a data element.Instance.getPerformingAgent(int)QualifiedAgent.getAgentID() -
NODE_PERFORMING_ORGPOSITION_ID
Represents the organisational ID of the agent performing the designated node for usage as a value of a data element.Instance.getPerformingAgent(int)QualifiedAgent.getOrgPositionID() -
NODE_STAFF_ASSIGNMENT_RULE
Represents a staff assignment rule of a specific node for usage as a value of a data element. The staff assignment rule of the node is written as a resolved rule which allows to have the very same set of agents to whom the corresponding activity is offered. This is needed for autostarting a node.Node.getStaffAssignmentRule() -
INSTANCE_CREATION_DATE
Represents the date/time an instance has been created for usage as a value of a data element.Instance.getCreationTime() -
NODE_TERMINATION_DATE
Represents the date/time a node has been terminated for usage as a value of a data element.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getParameterProperties
Gets a parameter object providing all properties for the corresponding implicit system parameter- Returns:
- A parameter object providing all information needed for creating a corresponding system parameter.
-
getCompanion
Gets the system data producer that is a companion of this. This is used for data producers that are coupled, for instance specifying a qualified agent needs an agent ID and organisational position ID. If this system data producer does not have such a "companion" system data producer,nullwill be returned.- Returns:
- The system data producer that is coupled to this system data
producer or
nullin case there is no companion for this system data producer.
-
toLocalisedString
Description copied from interface:LocalisedStringGets the localised representation of the implementing object. The localisation should be for the designated locale, model objects beingLocalisedshould use the designated localisation factory for automatic localisation.- Specified by:
toLocalisedStringin interfaceLocalisedString- Parameters:
locFac- The localisation factory to be used byLocalisedmodel objects. If this isnull, do not localise the usedLocalisedattributes.loc- The locale for which to get the localised string. If this isnull, treat it likeLocale.ROOThas been requested.- Returns:
- The localised (string) representation of the implementing object for the designated locale using the designated localisation factory if appropriate.
-
getProducerForIdentifierID
Returns theSystemDataProducermatching the specified identifier ID ornullif there exists none.- Parameters:
identifierID- the identifier ID for which to return the associated system data producer- Returns:
- the
SystemDataProducermatching the specified identifier ID ornullif there exists none
-
startNodeProduced
Gets all the values that are produced by the start node, that is, the data stems from template or instance objects.- Returns:
- All the values produced by the start node (data that stems from template or instance objects.
-
nodeProduced
Gets all the values that are produced by arbitrary nodes.- Returns:
- All the values produced by arbitrary nodes.
-