public class Event extends Object implements C2KLocalObject
| Constructor and Description |
|---|
Event() |
Event(Integer id,
ItemPath itemPath,
AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
String smName,
Integer smVersion,
int transitionId,
int originState,
int targetState,
String schemaName,
Integer schemaVersion,
String viewName,
GTimeStamp ts)
Constructor for recreating object from backend
|
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) |
String |
getAgentUUID() |
String |
getClusterPath()
Each C2KLocalObject is stored with a path identifier starting with the ClusterType:
Properties: /Property/Name
Workflow: /LifeCycle/workflow
Collections: /Collection/Name/Version (default Name='last')
Outcomes: /Outcome/SchemaName/SchemaVersion/EventID
Viewpoints: /ViewPoint/SchemaName/Name (default Name='last')
Events: /AuditTrail/EventID
Jobs: /Job/JobID
|
ClusterType |
getClusterType()
Each object belongs to a specific type defined in
ClusterStorage |
String |
getItemUUID() |
String |
getTimeString()
Return the TimeStamp in a form that will convert nicely to a String: YYYY-MM-DD HH:MI:SS
|
void |
setAgentUUID(String uuid) |
void |
setID(Integer id) |
void |
setItemUUID(String uuid) |
void |
setName(String name)
Sets the name of the C2KLocalObject
|
void |
setTimeString(String time) |
void |
setViewName(String viewName)
Set the ViewName
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenforceValidName, getNamepublic Event(ItemPath itemPath, AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId)
public Event(Integer id, ItemPath itemPath, AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, String smName, Integer smVersion, int transitionId, int originState, int targetState, String schemaName, Integer schemaVersion, String viewName, GTimeStamp ts)
public Event()
public void setID(Integer id)
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)
C2KLocalObjectsetName in interface C2KLocalObjectname - Name of the C2KLocalObjectpublic String getTimeString()
public void setTimeString(String time) throws InvalidDataException
InvalidDataExceptionpublic ClusterType getClusterType()
C2KLocalObjectClusterStoragegetClusterType in interface C2KLocalObjectpublic String getClusterPath()
C2KLocalObjectgetClusterPath in interface C2KLocalObjectpublic void setViewName(String viewName)
viewName - name of the view or 'last if viewName is blankCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.