diff options
| -rw-r--r-- | source/com/c2kernel/events/Event.java | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/source/com/c2kernel/events/Event.java b/source/com/c2kernel/events/Event.java index 18310ce..b52ac7a 100644 --- a/source/com/c2kernel/events/Event.java +++ b/source/com/c2kernel/events/Event.java @@ -27,14 +27,15 @@ import com.c2kernel.persistency.ClusterStorage; public class Event implements C2KLocalObject
{
- int mID, mEntitySystemKey, mType, mCurrentState, mTransition;
- String mName, mStepName, mStepPath, mStepType, mAgentName, mAgentCentre, mAgentRole;
+ int mID, mEntitySystemKey, mCurrentState, mTransition;
+ String mName, mStepName, mStepPath, mStepType, mAgentName, mAgentRole;
GTimeStamp mTimeStamp;
public void setID( int id ) {
mID = id;
mName = String.valueOf(id);
}
+
/**
*/
public void setEntitySystemKey( int systemKey )
@@ -42,15 +43,6 @@ public class Event implements C2KLocalObject mEntitySystemKey = systemKey;
}
-
- /**
- * Set the Event Type, in parameter is an integer.
- */
- public void setType(int type)
- {
- mType = type;
- }
-
/**
* Set the Event Name, in parameter is a String
*/
@@ -102,11 +94,6 @@ public class Event implements C2KLocalObject mAgentName = agentName;
}
- public void setAgentCentre(String agentCentre)
- {
- mAgentCentre = agentCentre;
- }
-
public void setAgentRole(String agentRole)
{
mAgentRole = agentRole;
@@ -137,14 +124,6 @@ public class Event implements C2KLocalObject }
/**
- * Return the Event Type
- */
- public int getType()
- {
- return mType;
- }
-
- /**
* Return the Event Name
*/
@Override
@@ -187,8 +166,6 @@ public class Event implements C2KLocalObject */
public String getAgentName()
{
- if (mAgentCentre != null)
- return mAgentCentre+"/"+mAgentName;
return mAgentName;
}
|
