|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
fr.fluxmedia.transmorpher.graph.Channel
public class Channel
Transmorpher graph channel representation
Field Summary | |
---|---|
protected Port |
in
in port of this channel |
protected java.lang.String |
name
name of the channel |
protected boolean |
nullified
Description of the Field |
protected Port |
out
out port of this channel |
protected Process |
process
the process that contains this channel |
protected boolean |
visited
Description of the Field |
Constructor Summary | |
---|---|
Channel()
Creates a simple instance of Channel |
|
Channel(java.lang.String name,
Process process)
Creates an instance of Channel with a name and a process |
|
Channel(java.lang.String name,
Process process,
Port in,
Port out)
Creates an instance of Channel with a name and a process |
Method Summary | |
---|---|
void |
clearNull()
Description of the Method |
void |
clearVisited()
Description of the Method |
java.lang.String |
getName()
Gets the name attribute of the Channel object |
Process |
getProcess()
Gets the process that owns this Channel object |
Port |
in()
Returns the in port of this channel |
boolean |
nullifiedP()
Description of the Method |
void |
nullify()
Description of the Method |
Port |
out()
Returns the out port of this channel |
void |
setIn(Port port)
Sets the in port of the Channel object |
void |
setName(java.lang.String newName)
Sets the name attribute of the Channel object |
void |
setOut(Port port)
Sets the out port of the Channel object |
void |
setVisited()
Sets the visited attribute of the Channel object |
java.lang.String |
toString()
Returns a description of this channel in a string |
boolean |
visitedP()
Description of the Method |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Port in
protected Port out
protected java.lang.String name
protected boolean visited
protected boolean nullified
protected Process process
Constructor Detail |
---|
public Channel()
public Channel(java.lang.String name, Process process)
name
- The name of the channel to createprocess
- The process that contains the channelpublic Channel(java.lang.String name, Process process, Port in, Port out)
name
- The name of the channel to createprocess
- The process that contains the channelin
- The in port of the channelout
- The out port of the channelMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public Port in()
public Port out()
public void setIn(Port port)
port
- The new in portpublic void setOut(Port port)
p
- The new out portpublic void setName(java.lang.String newName)
newName
- The new name valuepublic java.lang.String getName()
public Process getProcess()
public void clearNull()
public void nullify()
public void clearVisited()
public void setVisited()
public boolean visitedP()
public boolean nullifiedP()
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |