public class Event extends Object implements C2KLocalObject
| Constructor and Description |
|---|
Event() |
Event(ItemPath itemPath,
AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
StateMachine stateMachine,
int transitionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOutcomeDetails(Schema schema,
String viewName) |
AgentPath |
getAgentPath()
Return the AgentInfo of the Event.
|
String |
getAgentRole() |
String |
getAgentUUID() |
String |
getClusterType() |
AgentPath |
getDelegatePath() |
static GTimeStamp |
getGMT() |
Integer |
getID()
Return the Event's ID
|
ItemPath |
getItemPath() |
String |
getItemUUID() |
String |
getName()
Return the Event Name
|
int |
getOriginState() |
String |
getSchemaName() |
Integer |
getSchemaVersion() |
String |
getStateMachineName() |
Integer |
getStateMachineVersion() |
String |
getStepName()
Return the StepPath of the Event.
|
String |
getStepPath()
Return the StepPath of the Event.
|
String |
getStepType()
Return the StepPath of the Event.
|
int |
getTargetState() |
GTimeStamp |
getTimeStamp()
Return the Event's TimeStamp.
|
String |
getTimeString()
Return the TimeStamp in a form that will
convert nicely to a String
YYYY-MM-DD HH:MI:SS
|
int |
getTransition() |
String |
getViewName() |
void |
setAgentPath(AgentPath agentPath)
Set the AgentInfo in the Event, in parameter is an AgentInfo
|
void |
setAgentRole(String agentRole) |
void |
setAgentUUID(String uuid) |
void |
setDelegatePath(AgentPath delegatorPath) |
void |
setID(Integer id) |
void |
setItemPath(ItemPath itemPath) |
void |
setItemUUID(String uuid) |
void |
setName(String name)
Set the Event Name, in parameter is a String
|
void |
setOriginState(int originState) |
void |
setSchemaName(String schemaName) |
void |
setSchemaVersion(Integer schemaVersion) |
void |
setStateMachineName(String stateMachineName) |
void |
setStateMachineVersion(Integer stateMachineVersion) |
void |
setStepName(String name)
Set the StepPath of the Event, in parameter is a String
|
void |
setStepPath(String path)
Set the StepPath of the Event, in parameter is a String
|
void |
setStepType(String type)
Set the StepType of the Event, in parameter is a String
|
void |
setTargetState(int targetState) |
void |
setTimeStamp(GTimeStamp inTimeStamp)
Set the TimeStamp in the Event, in parameter is an GTimeStamp
|
void |
setTimeString(String time) |
void |
setTransition(int i) |
void |
setViewName(String viewName) |
static String |
timeToString(GTimeStamp timeStamp) |
public Event(ItemPath itemPath, AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId)
public Event()
public int getOriginState()
public void setOriginState(int originState)
public int getTargetState()
public void setTargetState(int targetState)
public Integer getStateMachineVersion()
public void setStateMachineVersion(Integer stateMachineVersion)
public String getStateMachineName()
public void setStateMachineName(String stateMachineName)
public void setID(Integer id)
public void setItemPath(ItemPath itemPath)
public void setItemUUID(String uuid) throws InvalidItemPathException
InvalidItemPathExceptionpublic String getItemUUID()
public void setAgentUUID(String uuid) throws InvalidItemPathException
InvalidItemPathExceptionpublic String getAgentUUID()
public void setName(String name)
setName in interface C2KLocalObjectpublic void setStepName(String name)
public void setStepPath(String path)
public void setStepType(String type)
public void setViewName(String viewName)
viewName - the viewName to setpublic void setAgentPath(AgentPath agentPath)
public void setDelegatePath(AgentPath delegatorPath)
public void setAgentRole(String agentRole)
public void setTimeStamp(GTimeStamp inTimeStamp)
public Integer getID()
public ItemPath getItemPath()
public String getName()
getName in interface C2KLocalObjectpublic String getStepName()
public String getStepPath()
public String getStepType()
public String getViewName()
public AgentPath getAgentPath()
public AgentPath getDelegatePath()
public String getAgentRole()
public GTimeStamp getTimeStamp()
public String getTimeString()
public static String timeToString(GTimeStamp timeStamp)
public void setTimeString(String time) throws InvalidDataException
InvalidDataExceptionpublic static GTimeStamp getGMT()
public String getClusterType()
getClusterType in interface C2KLocalObjectC2KLocalObject.getClusterType()public int getTransition()
public void setTransition(int i)
i - public Integer getSchemaVersion()
public void setSchemaVersion(Integer schemaVersion)
public String getSchemaName()
public void setSchemaName(String schemaName)
Copyright © 1997–2016 CRISTAL-iSE. All rights reserved.