fr.emn.reactiveinput.descriptor
Class ODAnd

java.lang.Object
  extended byfr.emn.reactiveinput.descriptor.ODAnd
All Implemented Interfaces:
MetaOD, OutDescriptor

public class ODAnd
extends java.lang.Object
implements OutDescriptor, MetaOD

The "And" Out Descriptor

PENDING: Smart children analysis (automatically remove ODAny from the list).


Field Summary
protected  OutDescriptor[] children
           
 
Constructor Summary
ODAnd(OutDescriptor[] children)
           
ODAnd(java.lang.String string)
           
 
Method Summary
 boolean contains(Out slot)
          Returns true if all children contains the slot.
 OutDescriptor[] getChildren()
           
 java.lang.String getString()
          Returns the descriptor's string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

protected OutDescriptor[] children
Constructor Detail

ODAnd

public ODAnd(OutDescriptor[] children)

ODAnd

public ODAnd(java.lang.String string)
Method Detail

contains

public boolean contains(Out slot)
Returns true if all children contains the slot. ErrorDescriptors are ignored.

Specified by:
contains in interface OutDescriptor

getChildren

public OutDescriptor[] getChildren()
Specified by:
getChildren in interface MetaOD

getString

public java.lang.String getString()
Returns the descriptor's string.

Specified by:
getString in interface OutDescriptor