public interface ProcessType
The root of the tree of process templates is the "root template" which is the parent of all templates of the corresponding process type. The implicit parent of the root template is the null template which consists of a start and an end node. When creating a new process type, the root template is created as a copy of the null template. The IDs of the process templates are unique with respect to the whole process repository. The implicit null template has the (virtual - since it is never used) ID 0.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object otherObject)
ProcessTypes are equal in case they have the same name and
the same root template (not proxy!!). |
java.lang.String |
getName()
Gets the unique (with respect to the process repository) name of the
process type.
|
TemplateProxy |
getRootTemplate()
Gets (a proxy for) the root template of this process type which is the
first ancestor of the null template.
|
int |
hashCode()
ProcessTypes are equal in case they have the same name and
the same root template (not proxy!!). |
java.lang.String getName()
TemplateProxy getRootTemplate()
boolean equals(java.lang.Object otherObject)
ProcessTypes are equal in case they have the same name and
the same root template (not proxy!!). Therefore
Object.equals(Object) and Object.hashCode()
have to be overridden.equals in class java.lang.ObjectotherObject - An instance of another object to compare this
ProcessType with.Object.equals(Object),
Object.hashCode()int hashCode()
ProcessTypes are equal in case they have the same name and
the same root template (not proxy!!). Therefore
Object.equals(Object) and Object.hashcode()
have to be overridden.hashCode in class java.lang.ObjectObject.equals(Object),
Object.hashCode()