public class ActivityDef extends WfVertexDef implements C2KLocalObject, DescriptionObject
| Modifier and Type | Field and Description |
|---|---|
boolean |
changed |
loopTested, mErrorsmIsComposite| Constructor and Description |
|---|
ActivityDef() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureInstance(WfVertex act)
Copies Properties from vertex definition to vertex instance, and also set the Edges
|
void |
export(Writer imports,
File dir,
boolean shallow) |
protected void |
exportCollections(Writer imports,
File dir) |
String |
getActName() |
protected DescriptionObject[] |
getBuiltInCollectionResource(BuiltInCollections collection) |
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 |
getDescName() |
String |
getErrors()
Method getErrors.
|
protected String |
getExportAttributes(String type) |
protected String |
getExportCollections() |
String |
getItemID() |
ItemPath |
getItemPath() |
Query |
getQuery() |
Schema |
getSchema() |
Script |
getScript() |
StateMachine |
getStateMachine() |
Integer |
getVersion() |
WfVertex |
instantiate() |
WfVertex |
instantiate(String name) |
Dependency |
makeDescCollection(BuiltInCollections collection,
DescriptionObject... descs) |
CollectionArrayList |
makeDescCollections() |
void |
setID(int id) |
void |
setItemPath(ItemPath path) |
void |
setQuery(Query actQuery) |
void |
setSchema(Schema actSchema) |
void |
setScript(Script actScript) |
void |
setStateMachine(StateMachine actStateMachine) |
void |
setVersion(Integer v) |
boolean |
verify()
Method verify.
|
loopaddChild, deriveVersionNumber, getBuiltInProperty, getBuiltInProperty, getCentrePoint, getChildren, getChildrenEdges, getChildrenGraphModel, getCreationContext, getInEdgeIds, getInEdges, getIsComposite, getIsLayoutable, getKeyValuePairs, getLayoutableChildren, getOutEdgeIds, getOutEdges, getOutGraphables, getOutlinePoints, getParent, getPath, getProperties, search, setBuiltInProperty, setChildrenGraphModel, setIsComposite, setIsLayoutable, setKeyValuePairs, setParent, setProperties, updatePropertiesFromCollection, updatePropertiesFromCollectionaddInEdgeId, addOutEdgeId, clearTag, containsPoint, hasTag, isJoin, isLoop, moveAbsolute, removeInEdgeId, removeOutEdgeId, setInEdgeIds, setOutEdgeIds, setOutlinePoints, setTagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenforceValidName, getName, setNamegetName, setNamepublic void setID(int id)
public String getItemID()
getItemID in interface DescriptionObjectpublic void setVersion(Integer v)
setVersion in interface DescriptionObjectpublic Integer getVersion()
getVersion in interface DescriptionObjectpublic String getErrors()
WfVertexDefgetErrors in class WfVertexDefpublic boolean verify()
WfVertexDefverify in class WfVertexDefpublic ClusterType getClusterType()
C2KLocalObjectClusterStoragegetClusterType in interface C2KLocalObjectpublic String getClusterPath()
C2KLocalObjectgetClusterPath in interface C2KLocalObjectpublic String getActName()
public String getDescName()
public WfVertex instantiate() throws ObjectNotFoundException, InvalidDataException
instantiate in class WfVertexDefObjectNotFoundExceptionInvalidDataExceptionpublic WfVertex instantiate(String name) throws ObjectNotFoundException, InvalidDataException
public void configureInstance(WfVertex act) throws InvalidDataException, ObjectNotFoundException
WfVertexDefconfigureInstance in class WfVertexDefact - the vertex instance to be configuredInvalidDataException - inconsistent dataObjectNotFoundException - data was not foundpublic ItemPath getItemPath()
getItemPath in interface DescriptionObjectpublic void setItemPath(ItemPath path)
setItemPath in interface DescriptionObjectpublic Schema getSchema() throws InvalidDataException, ObjectNotFoundException
public Script getScript() throws InvalidDataException, ObjectNotFoundException
public Query getQuery() throws InvalidDataException, ObjectNotFoundException
public StateMachine getStateMachine() throws InvalidDataException, ObjectNotFoundException
protected DescriptionObject[] getBuiltInCollectionResource(BuiltInCollections collection) throws ObjectNotFoundException, InvalidDataException
public void setSchema(Schema actSchema)
public void setScript(Script actScript)
public void setQuery(Query actQuery)
public void setStateMachine(StateMachine actStateMachine)
public Dependency makeDescCollection(BuiltInCollections collection, DescriptionObject... descs) throws InvalidDataException
InvalidDataExceptionpublic CollectionArrayList makeDescCollections() throws InvalidDataException, ObjectNotFoundException
makeDescCollections in interface DescriptionObjectInvalidDataExceptionObjectNotFoundExceptionpublic void export(Writer imports, File dir, boolean shallow) throws InvalidDataException, ObjectNotFoundException, IOException
export in interface DescriptionObjectInvalidDataExceptionObjectNotFoundExceptionIOExceptionprotected void exportCollections(Writer imports, File dir) throws InvalidDataException, ObjectNotFoundException, IOException
protected String getExportAttributes(String type) throws InvalidDataException, ObjectNotFoundException, IOException
protected String getExportCollections() throws InvalidDataException, ObjectNotFoundException, IOException
Copyright © 1997–2020 CRISTAL-iSE. All rights reserved.