org.processmining.framework.models.orgmodel
Class OrgEntity
java.lang.Object
org.processmining.framework.models.orgmodel.OrgEntity
- All Implemented Interfaces:
- java.lang.Cloneable
public class OrgEntity
- extends java.lang.Object
- implements java.lang.Cloneable
Constructor Summary |
OrgEntity()
|
OrgEntity(java.lang.String id,
java.lang.String name)
|
OrgEntity(java.lang.String id,
java.lang.String name,
java.lang.String type)
|
Method Summary |
java.lang.Object |
clone()
Makes a deep copy of the object, i.e., reconstructs the OrgEntity
Note that
this method needs to be extended as soon as there are attributes added to
the class which are not primitive or immutable. |
java.lang.String |
getEntityType()
|
java.lang.String |
getID()
|
java.lang.String |
getName()
|
void |
setEntityType(java.lang.String type)
|
void |
setID(java.lang.String id)
|
void |
setName(java.lang.String name)
|
void |
writeToXML(java.io.Writer bw)
Export to OrgModel file. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORGENTITYTYPE_ORGUNIT
public static final java.lang.String ORGENTITYTYPE_ORGUNIT
- See Also:
- Constant Field Values
ORGENTITYTYPE_ROLE
public static final java.lang.String ORGENTITYTYPE_ROLE
- See Also:
- Constant Field Values
ORGENTITYTYPE_MININGRESULT
public static final java.lang.String ORGENTITYTYPE_MININGRESULT
- See Also:
- Constant Field Values
ORGENTITYTYPE_ARRAYLIST
public static final java.util.ArrayList ORGENTITYTYPE_ARRAYLIST
OrgEntity
public OrgEntity()
OrgEntity
public OrgEntity(java.lang.String id,
java.lang.String name)
OrgEntity
public OrgEntity(java.lang.String id,
java.lang.String name,
java.lang.String type)
getID
public java.lang.String getID()
setID
public void setID(java.lang.String id)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getEntityType
public java.lang.String getEntityType()
setEntityType
public void setEntityType(java.lang.String type)
writeToXML
public void writeToXML(java.io.Writer bw)
throws java.io.IOException
- Export to OrgModel file.
- Parameters:
bw
- Writer
- Throws:
java.io.IOException
- If writing fails
clone
public java.lang.Object clone()
- Makes a deep copy of the object, i.e., reconstructs the OrgEntity
Note that
this method needs to be extended as soon as there are attributes added to
the class which are not primitive or immutable.
- Overrides:
clone
in class java.lang.Object
- Returns:
- the cloned object