public interface Identifier extends UserAttributeContainer, PluginDataContainer
int),
its data structure and its (textually described) meaning.
Although parameter names may vary from component to component (or even
from operation to operation), if they address syntactically and semantically
the same kind of data, they should have the same identifier.
The Identifier is a semantical specialisation of a raw data type like
int.
The identifier can be seen as the well-defined and unique name which is used
for mapping all parameters which actually should have this name.
For example: different components use "patID", "pID" and "patiID" as
parameter name for the ID of a patient. A unique identifier should be
created, which e.g. may be called "patientID", and its ID should be assigned
to all ActivityModelParameters which represent exactly this data.
Identifiers are used to find matching parameter partners when defining the data flow of a process (semi-) automatically.
Although an identifier's name is unique, this name might be changed. Additionally, an identifier has a static and not changeable ID. This ID must be used for referencing identifiers - whereas the name must only be used for display purposes.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns a description text of the common identifier (may be
null). |
java.util.UUID |
getID()
Returns the repository-wide unique ID of the identifier.
|
java.lang.String |
getName()
The repository-wide unique name of the common identifier.
|
long |
getRevision()
Gets the (base) revision of this identifier which allows to track changes.
|
State |
getState()
Gets the current deployment state of this operation, that is whether it is
currently modified, it can be used or it may not be used any more.
|
void |
setDescription(java.lang.String description)
Sets the description of the identifier.
|
void |
setName(java.lang.String name)
Sets the name of the identifier.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsjava.util.UUID getID()
java.lang.String getName()
java.lang.String getDescription()
null).null.long getRevision()
state is set to
IN_DEVELOPMENT but the revision remains until the branch
is released.State getState()
void setName(java.lang.String name)
name - The name of the identifier.void setDescription(java.lang.String description)
description - The description of the identifier.