com.monad.homerun.wiring
Class Wire

java.lang.Object
  extended by com.monad.homerun.wiring.Wire
All Implemented Interfaces:
java.io.Serializable

public class Wire
extends java.lang.Object
implements java.io.Serializable

A Wire is a 'signal junction' between one single component point and another, typically a control point->model or emitter event->model. A group of related wires is a Circuit.

See Also:
Serialized Form

Constructor Summary
Wire()
           
Wire(java.lang.String sourcePoint, java.util.ArrayList sourceInputs, java.lang.String sinkPoint, java.util.ArrayList sinkInputs)
           
Wire(Wire wire)
           
 
Method Summary
 java.lang.String getSink()
          Return the name of the sink (RHS) of the wire
 java.util.List getSinkInputs()
          Return the inputs of the sink (RHS) of the wire
 java.lang.String getSource()
          Return the name of the source (LHS) of the wire
 java.util.List getSourceInputs()
          Return the inputs of the source (LHS) of the wire
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wire

public Wire()

Wire

public Wire(Wire wire)

Wire

public Wire(java.lang.String sourcePoint,
            java.util.ArrayList sourceInputs,
            java.lang.String sinkPoint,
            java.util.ArrayList sinkInputs)
Method Detail

getSource

public java.lang.String getSource()
Return the name of the source (LHS) of the wire

Returns:
source the source name

getSourceInputs

public java.util.List getSourceInputs()
Return the inputs of the source (LHS) of the wire

Returns:
inputs the source inputs

getSink

public java.lang.String getSink()
Return the name of the sink (RHS) of the wire

Returns:
sink the sink name

getSinkInputs

public java.util.List getSinkInputs()
Return the inputs of the sink (RHS) of the wire

Returns:
inputs the sink inputs


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.