INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Class Port

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.graph.Port
All Implemented Interfaces:
java.io.Serializable

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

Transmorpher graph list of ports/channels

Since:
jdk 1.3 / SAX 2.0
Author:
Jerome.Euzenat@inrialpes.fr
See Also:
Serialized Form

Field Summary
protected  Channel channel
          Description of the Field
protected  Call cOwner
          Description of the Field
static int INPUT
          Description of the Field
protected  java.lang.String name
          Description of the Field
protected  int number
          Description of the Field
static int OUTPUT
          Description of the Field
protected  Transformation tOwner
          Description of the Field
protected  int type
          Description of the Field
 
Constructor Summary
Port()
          Constructor for the Port object
Port(java.lang.String n, Call c, int i)
          Port creator for calls
Port(java.lang.String n, Call c, int i, int type)
          Constructor for the Port object
Port(java.lang.String n, Transformation t, int i)
          Port creator for transformations
Port(java.lang.String n, Transformation t, int i, int type)
          Port creator for transformations
 
Method Summary
 boolean CallPortP()
          Description of the Method
 Call getCall()
          Gets the call attribute of the Port object
 Channel getChannel()
          Gets the channel attribute of the Port object
 java.lang.String getName()
          Gets the name attribute of the Port object
 Transformation getTransformation()
          Gets the transformation attribute of the Port object
 int getType()
          Gets the type attribute of the Port object
 void setCall(Call cOwner)
          Sets the call attribute of the Port object
 void setChannel(Channel c)
          Sets the channel attribute of the Port object
 void setName(java.lang.String newName)
          Sets the name attribute of the Port object
 void setTransformation(Transformation tOwner)
          Sets the transformation attribute of the Port object
 void setType(int type)
          Sets the type attribute of the Port object
 boolean TransformationPortP()
          Description of the Method
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

OUTPUT

public static int OUTPUT
Description of the Field

INPUT

public static int INPUT
Description of the Field

channel

protected Channel channel
Description of the Field

tOwner

protected Transformation tOwner
Description of the Field

cOwner

protected Call cOwner
Description of the Field

number

protected int number
Description of the Field

name

protected java.lang.String name
Description of the Field

type

protected int type
Description of the Field
Constructor Detail

Port

public Port()
Constructor for the Port object

Port

public Port(java.lang.String n,
            Transformation t,
            int i)
Port creator for transformations
Parameters:
n - Description of the Parameter
t - Description of the Parameter
i - Description of the Parameter

Port

public Port(java.lang.String n,
            Transformation t,
            int i,
            int type)
Port creator for transformations
Parameters:
n - Description of the Parameter
t - Description of the Parameter
i - Description of the Parameter
type - Description of the Parameter

Port

public Port(java.lang.String n,
            Call c,
            int i)
Port creator for calls
Parameters:
n - Description of the Parameter
c - Description of the Parameter
i - Description of the Parameter

Port

public Port(java.lang.String n,
            Call c,
            int i,
            int type)
Constructor for the Port object
Parameters:
n - Description of the Parameter
c - Description of the Parameter
i - Description of the Parameter
type - Description of the Parameter
Method Detail

setChannel

public void setChannel(Channel c)
Sets the channel attribute of the Port object
Parameters:
c - The new channel value

getChannel

public Channel getChannel()
Gets the channel attribute of the Port object
Returns:
The channel value

setName

public void setName(java.lang.String newName)
Sets the name attribute of the Port object
Parameters:
newName - The new name value

getName

public java.lang.String getName()
Gets the name attribute of the Port object
Returns:
The name value

getType

public int getType()
Gets the type attribute of the Port object
Returns:
The type value

setType

public void setType(int type)
Sets the type attribute of the Port object
Parameters:
type - The new type value

TransformationPortP

public boolean TransformationPortP()
Description of the Method
Returns:
Description of the Return Value

CallPortP

public boolean CallPortP()
Description of the Method
Returns:
Description of the Return Value

getTransformation

public Transformation getTransformation()
Gets the transformation attribute of the Port object
Returns:
The transformation value

setTransformation

public void setTransformation(Transformation tOwner)
Sets the transformation attribute of the Port object
Parameters:
tOwner - The new transformation value
Returns:
Description of the Return Value

getCall

public Call getCall()
Gets the call attribute of the Port object
Returns:
The call value

setCall

public void setCall(Call cOwner)
Sets the call attribute of the Port object
Parameters:
cOwner - The new call value

INRIA & FluxMedia

..no bottom yet...