|
jBPM :: Flow 6.0.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.workflow.core.impl.NodeImpl
public abstract class NodeImpl
Default implementation of a node.
Field Summary | |
---|---|
protected Map<ConnectionRef,Constraint> |
constraints
|
protected static NodeImpl[] |
EMPTY_NODE_ARRAY
|
Fields inherited from interface org.jbpm.workflow.core.Node |
---|
CONNECTION_DEFAULT_TYPE |
Constructor Summary | |
---|---|
NodeImpl()
|
Method Summary | |
---|---|
void |
addConstraint(ConnectionRef connectionRef,
Constraint constraint)
|
void |
addIncomingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
void |
addOutgoingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
Constraint |
getConstraint(org.kie.api.definition.process.Connection connection)
|
Map<ConnectionRef,Constraint> |
getConstraints()
|
Context |
getContext(String contextId)
|
List<org.kie.api.definition.process.Connection> |
getDefaultIncomingConnections()
Helper method for nodes that have multiple default incoming connections |
List<org.kie.api.definition.process.Connection> |
getDefaultOutgoingConnections()
Helper method for nodes that have multiple default outgoing connections |
org.kie.api.definition.process.Connection |
getFrom()
Helper method for nodes that have at most one default incoming connection |
long |
getId()
|
Map<String,List<org.kie.api.definition.process.Connection>> |
getIncomingConnections()
|
List<org.kie.api.definition.process.Connection> |
getIncomingConnections(String type)
|
Map<String,Object> |
getMetaData()
|
Object |
getMetaData(String name)
|
String |
getName()
|
org.kie.api.definition.process.NodeContainer |
getNodeContainer()
|
Map<String,List<org.kie.api.definition.process.Connection>> |
getOutgoingConnections()
|
List<org.kie.api.definition.process.Connection> |
getOutgoingConnections(String type)
|
org.kie.api.definition.process.Connection |
getTo()
Helper method for nodes that have at most one default outgoing connection |
String |
getUniqueId()
|
Constraint |
internalGetConstraint(ConnectionRef ref)
|
void |
removeIncomingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
void |
removeOutgoingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
Context |
resolveContext(String contextId,
Object param)
|
void |
setConstraint(org.kie.api.definition.process.Connection connection,
Constraint constraint)
|
void |
setContext(String contextId,
Context context)
|
void |
setId(long id)
Method for setting the id of the node |
void |
setMetaData(Map<String,Object> metaData)
|
void |
setMetaData(String name,
Object value)
|
void |
setName(String name)
Method for setting the name of the node |
void |
setNodeContainer(org.kie.api.definition.process.NodeContainer nodeContainer)
|
void |
validateAddIncomingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
void |
validateAddOutgoingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
void |
validateRemoveIncomingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
void |
validateRemoveOutgoingConnection(String type,
org.kie.api.definition.process.Connection connection)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final NodeImpl[] EMPTY_NODE_ARRAY
protected Map<ConnectionRef,Constraint> constraints
Constructor Detail |
---|
public NodeImpl()
Method Detail |
---|
public long getId()
getId
in interface org.kie.api.definition.process.Node
public String getUniqueId()
public void setId(long id)
Node
id
- the id of the nodepublic String getName()
getName
in interface org.kie.api.definition.process.Node
public void setName(String name)
Node
name
- the name of the nodepublic Map<String,List<org.kie.api.definition.process.Connection>> getIncomingConnections()
getIncomingConnections
in interface org.kie.api.definition.process.Node
public Map<String,List<org.kie.api.definition.process.Connection>> getOutgoingConnections()
getOutgoingConnections
in interface org.kie.api.definition.process.Node
public void addIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
public List<org.kie.api.definition.process.Connection> getIncomingConnections(String type)
getIncomingConnections
in interface org.kie.api.definition.process.Node
public void addOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
public List<org.kie.api.definition.process.Connection> getOutgoingConnections(String type)
getOutgoingConnections
in interface org.kie.api.definition.process.Node
public void removeIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
public void validateRemoveIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
public void removeOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
public void validateRemoveOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
public org.kie.api.definition.process.Connection getFrom()
public org.kie.api.definition.process.Connection getTo()
public List<org.kie.api.definition.process.Connection> getDefaultIncomingConnections()
public List<org.kie.api.definition.process.Connection> getDefaultOutgoingConnections()
public org.kie.api.definition.process.NodeContainer getNodeContainer()
getNodeContainer
in interface org.kie.api.definition.process.Node
public void setNodeContainer(org.kie.api.definition.process.NodeContainer nodeContainer)
public void setContext(String contextId, Context context)
setContext
in interface Contextable
public Context getContext(String contextId)
getContext
in interface Contextable
public Context resolveContext(String contextId, Object param)
resolveContext
in interface ContextResolver
public void setMetaData(String name, Object value)
public Object getMetaData(String name)
public Map<String,Object> getMetaData()
getMetaData
in interface org.kie.api.definition.process.Node
public void setMetaData(Map<String,Object> metaData)
public Constraint getConstraint(org.kie.api.definition.process.Connection connection)
public Constraint internalGetConstraint(ConnectionRef ref)
public void setConstraint(org.kie.api.definition.process.Connection connection, Constraint constraint)
public void addConstraint(ConnectionRef connectionRef, Constraint constraint)
public Map<ConnectionRef,Constraint> getConstraints()
|
jBPM :: Flow 6.0.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |