站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

Join (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.ruleflow.core.impl
Class Join

java.lang.Object
  extended by org.drools.ruleflow.core.impl.Node
      extended by org.drools.ruleflow.core.impl.Join
All Implemented Interfaces:
Serializable, IJoin, INode

public class Join
extends Node
implements IJoin

Default implementation of a join.

Author:
Kris Verlaenen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.ruleflow.core.impl.Node
EMPTY_NODE_ARRAY
 
Fields inherited from interface org.drools.ruleflow.core.IJoin
TYPE_AND, TYPE_UNDEFINED, TYPE_XOR
 
Constructor Summary
Join()
           
 
Method Summary
 IConnection getTo()
          Convenience method for returning the outgoing connection of the join
 int getType()
          Returns the type of the join.
 void setType(int type)
          Sets the type of the join.
protected  void validateAddOutgoingConnection(IConnection connection)
          This method validates whether the given connection can be added.
 
Methods inherited from class org.drools.ruleflow.core.impl.Node
addIncomingConnection, addOutgoingConnection, getId, getIncomingConnections, getName, getOutgoingConnections, removeIncomingConnection, removeOutgoingConnection, setId, setName, validateAddIncomingConnection, validateRemoveIncomingConnection, validateRemoveOutgoingConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.ruleflow.core.INode
getId, getIncomingConnections, getName, getOutgoingConnections, setId, setName
 

Constructor Detail

Join

public Join()
Method Detail

setType

public void setType(int type)
Description copied from interface: IJoin
Sets the type of the join.

Specified by:
setType in interface IJoin
Parameters:
type - The type of the join

getType

public int getType()
Description copied from interface: IJoin
Returns the type of the join.

Specified by:
getType in interface IJoin
Returns:
the type of the join.

getTo

public IConnection getTo()
Description copied from interface: IJoin
Convenience method for returning the outgoing connection of the join

Specified by:
getTo in interface IJoin
Returns:
the outgoing connection of the join

validateAddOutgoingConnection

protected void validateAddOutgoingConnection(IConnection connection)
Description copied from class: Node
This method validates whether the given connection can be added. If the connection cannot be added, an IllegalArgumentException is thrown.

Overrides:
validateAddOutgoingConnection in class Node
Parameters:
connection - the outgoin connection to be added


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.