Knowledge API Legacy5 Adapter 6.2.0.Final

org.drools.impl.adapters
Class ConnectionAdapter

java.lang.Object
  extended by org.drools.impl.adapters.ConnectionAdapter
All Implemented Interfaces:
Connection

public class ConnectionAdapter
extends Object
implements Connection


Field Summary
 org.kie.api.definition.process.Connection delegate
           
 
Constructor Summary
ConnectionAdapter(org.kie.api.definition.process.Connection delegate)
           
 
Method Summary
 boolean equals(Object obj)
           
 Node getFrom()
          The Node the connection starts from.
 String getFromType()
          The type of exit point of the from Node.
 Map<String,Object> getMetaData()
          Meta data associated with this connection.
 Object getMetaData(String name)
          Meta data associated with this connection.
 Node getTo()
          The Node the connection goes to.
 String getToType()
          The type of entry point of the to Node.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

public org.kie.api.definition.process.Connection delegate
Constructor Detail

ConnectionAdapter

public ConnectionAdapter(org.kie.api.definition.process.Connection delegate)
Method Detail

getFrom

public Node getFrom()
Description copied from interface: Connection
The Node the connection starts from.

Specified by:
getFrom in interface Connection

getTo

public Node getTo()
Description copied from interface: Connection
The Node the connection goes to.

Specified by:
getTo in interface Connection

getFromType

public String getFromType()
Description copied from interface: Connection
The type of exit point of the from Node. Defaults to "DROOLS_DEFAULT".

Specified by:
getFromType in interface Connection

getToType

public String getToType()
Description copied from interface: Connection
The type of entry point of the to Node. Defaults to "DROOLS_DEFAULT".

Specified by:
getToType in interface Connection

getMetaData

public Map<String,Object> getMetaData()
Description copied from interface: Connection
Meta data associated with this connection.

Specified by:
getMetaData in interface Connection

getMetaData

public Object getMetaData(String name)
Description copied from interface: Connection
Meta data associated with this connection.

Specified by:
getMetaData in interface Connection

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Knowledge API Legacy5 Adapter 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.