fr.emn.reactiveinput
Class MissingIn

java.lang.Object
  extended byfr.emn.reactiveinput.Slot
      extended byfr.emn.reactiveinput.In
          extended byfr.emn.reactiveinput.MissingIn

public class MissingIn
extends In

A slot that was not found. Not added to the device.


Field Summary
 
Fields inherited from class fr.emn.reactiveinput.Slot
description, dynamic, help, mutable, name, owner, supertype, type
 
Constructor Summary
MissingIn(Device owner, java.lang.String name)
           
 
Method Summary
 java.lang.String getDescription()
           
 boolean isValid()
          USE: Design / Execution.
 
Methods inherited from class fr.emn.reactiveinput.In
getBooleanValue, getConnected, getConnectedType, getDoubleValue, getIntValue, getObjectValue, getStringValue, hasSignal, hasValue, isConnected, isObligatory
 
Methods inherited from class fr.emn.reactiveinput.Slot
flatten, flatten, flatten, getHelp, getName, getParent, getProperties, getSupertype, getType, isDynamic, isMutable, remove, rename, setDescription, setHelp, setInfo, setProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingIn

public MissingIn(Device owner,
                 java.lang.String name)
Method Detail

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class Slot

isValid

public boolean isValid()
Description copied from class: In
USE: Design / Execution. Returns true if this slot will be able to receive values.

An input slot is valid if it is properly connected to a compatible output slot (compatibility = COMPATIBLE_ALWAYS or COMPATIBLE_FOR_NOW), and if this output slot is valid itself.

!! Don't retrieve values from an input slot before checking isValid(), hasValue() or hasSignal(). This never happens with obligatory input slots, but may happen with optional input slots.

Overrides:
isValid in class In