Package jadex.bpmn.model
Class MIdElement
- java.lang.Object
-
- jadex.bpmn.model.MIdElement
-
- Direct Known Subclasses:
MAnnotation,MAnnotationDetail,MAnnotationElement
public class MIdElement extends java.lang.ObjectBase model element with an id.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringidThe id.protected static IdGeneratorID_GENERATORID generator.
-
Constructor Summary
Constructors Modifier Constructor Description protectedMIdElement()Generates an ID element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetId()Get the id.inthashCode()voidsetId(java.lang.String id)Set the id.
-
-
-
Field Detail
-
ID_GENERATOR
protected static final IdGenerator ID_GENERATOR
ID generator.
-
id
protected java.lang.String id
The id.
-
-
Method Detail
-
getId
public java.lang.String getId()
Get the id.- Returns:
- The id.
-
setId
public void setId(java.lang.String id)
Set the id.- Parameters:
id- the id to set.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-