fr.emn.reactiveinput.descriptor
Class ODType

java.lang.Object
  extended byfr.emn.reactiveinput.descriptor.ODType
All Implemented Interfaces:
OutDescriptor

public class ODType
extends java.lang.Object
implements OutDescriptor

Contains all output slots with the same type (or supertype for mutable slots).


Field Summary
protected  int type
           
 
Constructor Summary
ODType(int slotType)
           
ODType(Out out)
           
ODType(java.lang.String slotType)
           
 
Method Summary
 boolean contains(Out slot)
          Returns true if slot's type is a subtype of the type given in constructor.
 java.lang.String getString()
          Returns null if invalid type.
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected int type
Constructor Detail

ODType

public ODType(int slotType)

ODType

public ODType(Out out)

ODType

public ODType(java.lang.String slotType)
Method Detail

contains

public boolean contains(Out slot)
Returns true if slot's type is a subtype of the type given in constructor.

Specified by:
contains in interface OutDescriptor

getString

public java.lang.String getString()
Returns null if invalid type.

Specified by:
getString in interface OutDescriptor

getType

public int getType()