rs.sol.soloist.server.guiconfiguration.nonvisualcompoments
Class GUIFilterComponent

java.lang.Object
  extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
      extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
          extended by rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
              extended by rs.sol.soloist.server.builtindomains.common.ObjectOfClass
                  extended by rs.sol.soloist.server.guiconfiguration.construction.GUIComponent
                      extended by rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUINonVisualComponent
                          extended by rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUIFilterComponent
All Implemented Interfaces:
IElementPresentationProvider, IUpdatable, rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement
Direct Known Subclasses:
GUIBooleanFilter, GUIComparationFilter, GUIConformsToFilter, GUIMultiplicityFilter, GUINullFilter

public abstract class GUIFilterComponent
extends GUINonVisualComponent

An abstract base class for all invisible widgets that perform different types of filtering of values on input input pin (ipInput() method).

If the value on input input pin satisfies filtering condition (implied by the type of filtering widget, that is, by the sub-class of this class), that value is propagated immediately on the yes output pin (opYes() method) and also, a Boolean value TRUE is propagated on the booleanResult ouput pin (opBooleanResult() method).

If however, the value on input input pin does not satisfy the filtering condition, then that value is propagated immediately on the no output pin (opNo() method) and also, a Boolean value FALSE is propagated on the booleanResult ouput pin (opBooleanResult() method).

The filtering operations are performed every time new value arrives on the input input pin.

Author:
SOL Expert Group
See Also:
GUIBooleanFilter, GUINullFilter, GUIConformsToFilter, GUIMultiplicityFilter, GUIComparationFilter, GUINonVisualComponent

Nested Class Summary
static class GUIFilterComponent.FQPropertyNames
          Deprecated. Not for public use.
static class GUIFilterComponent.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
 IAttributeValue<Text> booleanResult
          Deprecated. Not for public use.
static IClass CLASSIFIER
          UML class reference
static java.lang.String FQ_TYPE_NAME
          Fully qualified UML class name
 IAttributeValue<Text> input
          Deprecated. Not for public use.
 IAttributeValue<Text> no
          Deprecated. Not for public use.
 IAttributeValue<Text> yes
          Deprecated. Not for public use.
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.construction.GUIComponent
addStyle, context, description, enabled, init, inputBindings, layoutData, logger, name, outputBindings, ownerTable, parent, removeStyle, show, showInParent, styleName, tooltip, visible
 
Constructor Summary
GUIFilterComponent()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
 ISlot<?> ipInput()
          Returns the input input pin; when event occurs, value accepted on this pin is filtered according to the filtering policy of this class and appropriate values are provided on the output pins: yes (opYes() method), no (opNo() method), and booleanResult (opBooleanResult() method).
 ISlot<?> opBooleanResult()
          Returns the booleanResult output pin; after each acceptance of a value on the input input pin (ipInput() method), this widget performs a filtering operation on it, and provides the success value of the operation on this pin.
 ISlot<?> opNo()
          Returns the no output pin; after each acceptance of a value on the input input pin (ipInput() method), this widget performs a filtering operation on it, and if that value does NOT fulfill the filtering condition, it will be provided on this pin.
 ISlot<?> opYes()
          Returns the yes output pin; after each acceptance of a value on the input input pin (ipInput() method), this widget performs a filtering operation on it, and if that value fulfills the filtering condition, it will be provided on this pin.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUINonVisualComponent
setCellAlignment, setCellSize, setCellStyle, setCenter, setDirectionAndSize, setLeftRightWidth, setRowColumn, setRowColumn, setSize, setTopBottomHeight, setXY
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.construction.GUIComponent
addStyleNames, addValueToSlot, clearSlot, clone, createInfo, createInfoAlreadyValidated, destructor, fillElementInfo, getApplication, getCommands, getCommands, getCommonOwner, getContext, getDescription, getDescrString, getDragIcon, getEnabled, getFeature, getFeature, getInputBindings, getInputPin, getInputPins, getLabelString, getLargeIcon, getLayoutData, getName, getNameString, getOutputPin, getOutputPins, getOwner, getParts, getSetting, getSmallIcon, getStyle, getSubnodes, getTooltip, getTooltipString, getTypeString, getVisible, handle, ipAddStyle, ipEnabled, ipInit, ipRemoveStyle, ipShow, ipShowInParent, ipVisible, isInputPin, isOutputPin, putFeatureInfo, readElement, readElements, readSlot, readSlotAsInfo, readSubnodes, removeValueFromSlot, setContext, setDescription, setEnabled, setLayoutData, setName, setSlot, setSlot, setStyle, setTooltip, setVisible, toTranslateDescriptors, translatePinName, updateInfo, validate, validateParts, validateParts
 
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
destroy, equals, getAssociationEndInstance, getAssociationEndInstances, getAttributeValue, getAttributeValues, getMyClass, getMyID, getSlot, getSlot, getSlots, getUMLClass, hashCode, isMarkedAsDeleted, toString
 
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
accept, accept, exists, getAssociationEndInstance, getAssociationEndInstance, getAssociationEndInstance, getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isEqualTo, makeClone, markAsDeleted
 
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
conformsTo, copySlots, copySlots, getAttributeValue, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance
conformsTo, copySlots, copySlots, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IRTElement
getMElement
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement
isKindOf, isModelElement, isRTElement
 

Field Detail

input

@Deprecated
public IAttributeValue<Text> input
Deprecated. Not for public use.

yes

@Deprecated
public IAttributeValue<Text> yes
Deprecated. Not for public use.

no

@Deprecated
public IAttributeValue<Text> no
Deprecated. Not for public use.

booleanResult

@Deprecated
public IAttributeValue<Text> booleanResult
Deprecated. Not for public use.

FQ_TYPE_NAME

public static final java.lang.String FQ_TYPE_NAME
Fully qualified UML class name

See Also:
Constant Field Values

CLASSIFIER

public static final IClass CLASSIFIER
UML class reference

Constructor Detail

GUIFilterComponent

public GUIFilterComponent()
Method Detail

constructor

public void constructor()
Description copied from interface: IClassifierInstance
The domain-specific constructor of the Classifier.

Specified by:
constructor in interface IClassifierInstance
Overrides:
constructor in class GUINonVisualComponent

ipInput

public ISlot<?> ipInput()
Returns the input input pin; when event occurs, value accepted on this pin is filtered according to the filtering policy of this class and appropriate values are provided on the output pins: yes (opYes() method), no (opNo() method), and booleanResult (opBooleanResult() method).

Returns:
the input input pin
See Also:
GUIComponentBinding

opYes

public ISlot<?> opYes()
Returns the yes output pin; after each acceptance of a value on the input input pin (ipInput() method), this widget performs a filtering operation on it, and if that value fulfills the filtering condition, it will be provided on this pin.

Returns:
the yes output pin
See Also:
GUIComponentBinding

opNo

public ISlot<?> opNo()
Returns the no output pin; after each acceptance of a value on the input input pin (ipInput() method), this widget performs a filtering operation on it, and if that value does NOT fulfill the filtering condition, it will be provided on this pin.

Returns:
the no output pin
See Also:
GUIComponentBinding

opBooleanResult

public ISlot<?> opBooleanResult()
Returns the booleanResult output pin; after each acceptance of a value on the input input pin (ipInput() method), this widget performs a filtering operation on it, and provides the success value of the operation on this pin.

Returns:
the booleanResult output pin
See Also:
GUIComponentBinding