fr.emn.reactiveinput.descriptor
Class IDType

java.lang.Object
  extended byfr.emn.reactiveinput.descriptor.IDType
All Implemented Interfaces:
InDescriptor

public class IDType
extends java.lang.Object
implements InDescriptor

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


Field Summary
protected  int type
           
 
Constructor Summary
IDType(In slot)
           
IDType(int slotType)
           
IDType(java.lang.String slotType)
           
 
Method Summary
 boolean contains(In 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

IDType

public IDType(int slotType)

IDType

public IDType(In slot)

IDType

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

contains

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

Specified by:
contains in interface InDescriptor

getString

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

Specified by:
getString in interface InDescriptor

getType

public int getType()