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.Object
Base model element with an id.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
id
The id.protected static IdGenerator
ID_GENERATOR
ID generator.
-
Constructor Summary
Constructors Modifier Constructor Description protected
MIdElement()
Generates an ID element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getId()
Get the id.int
hashCode()
void
setId(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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-