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

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
                              extended by rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUIMultiplicityFilter
All Implemented Interfaces:
IElementPresentationProvider, IUpdatable, rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

public class GUIMultiplicityFilter
extends GUIFilterComponent

A type of filtering widget with a filtering condition that is meant to determine whether the number of values on input input pin (ipInput() method) conform to multiplicity conditions specified in this widget (setLowerBound(int) method and setUpperBound(int) method).

Author:
SOL Expert Group
See Also:
GUINonVisualComponent

Nested Class Summary
static class GUIMultiplicityFilter.FQPropertyNames
          Deprecated. Not for public use.
static class GUIMultiplicityFilter.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
static IClass CLASSIFIER
          UML class reference
static java.lang.String FQ_TYPE_NAME
          Fully qualified UML class name
 IAttributeValue<Integer> lowerBound
          Deprecated. Not for public use.
 IAttributeValue<Integer> upperBound
          Deprecated. Not for public use.
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUIFilterComponent
booleanResult, input, no, yes
 
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
GUIMultiplicityFilter()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
static GUIMultiplicityFilter create(GUIContainerComponent parent, int lowerBound, int upperBound)
          Returns new GUIMultiplicityFilter configured with the given multiplicity conditions.
static GUIMultiplicityFilter create(GUIContainerComponent parent, ISlot pinInput, int lowerBound, int upperBound)
          Deprecated. Not for public use.
static GUIMultiplicityFilter createIsEmpty(GUIContainerComponent parent)
          Returns new GUIMultiplicityFilter configured with the lower and upper multiplicity conditions both set to 0 (zero).
static GUIMultiplicityFilter createIsEmpty(GUIContainerComponent parent, ISlot pinInput)
          Deprecated. Not for public use.
static GUIMultiplicityFilter createIsNotEmpty(GUIContainerComponent parent)
          Returns new GUIMultiplicityFilter configured with the lower and upper multiplicity conditions set to 1 for the lower and infinity for the upper multiplicity.
static GUIMultiplicityFilter createIsNotEmpty(GUIContainerComponent parent, ISlot pinInput)
          Deprecated. Not for public use.
 int getLowerBound()
          Returns the lower bound.
 int getUpperBound()
          Returns the upper bound.
 void setLowerBound(int lowerBound)
          Sets the lower bound.
 void setUpperBound(int upperBound)
          Sets the upper bound.
 void validate()
          Validates a configuration settings of this widget.
static void validateBounds(IAttributeValue<Integer> lowerBound, IAttributeValue<Integer> upperBound)
          Deprecated. Not for public use.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUIFilterComponent
ipInput, opBooleanResult, opNo, opYes
 
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, 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

lowerBound

@Deprecated
public IAttributeValue<Integer> lowerBound
Deprecated. Not for public use.

upperBound

@Deprecated
public IAttributeValue<Integer> upperBound
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

GUIMultiplicityFilter

public GUIMultiplicityFilter()
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 GUIFilterComponent

validate

public void validate()
Description copied from class: GUIComponent
Validates a configuration settings of this widget.

Overrides:
validate in class GUIComponent

validateBounds

@Deprecated
public static void validateBounds(IAttributeValue<Integer> lowerBound,
                                             IAttributeValue<Integer> upperBound)
Deprecated. Not for public use.


create

public static GUIMultiplicityFilter create(GUIContainerComponent parent,
                                           int lowerBound,
                                           int upperBound)
Returns new GUIMultiplicityFilter configured with the given multiplicity conditions.

Parameters:
parent - the parent GUIContainerComponent widget
lowerBound - the lower multiplicity condition
upperBound - the lower multiplicity condition
Returns:
the new GUIMultiplicityFilter

createIsEmpty

public static GUIMultiplicityFilter createIsEmpty(GUIContainerComponent parent)
Returns new GUIMultiplicityFilter configured with the lower and upper multiplicity conditions both set to 0 (zero).

Parameters:
parent - the parent GUIContainerComponent widget
Returns:
the new GUIMultiplicityFilter

createIsNotEmpty

public static GUIMultiplicityFilter createIsNotEmpty(GUIContainerComponent parent)
Returns new GUIMultiplicityFilter configured with the lower and upper multiplicity conditions set to 1 for the lower and infinity for the upper multiplicity.

Parameters:
parent - the parent GUIContainerComponent widget
Returns:
the new GUIMultiplicityFilter

getLowerBound

public int getLowerBound()
Returns the lower bound.

Returns:
the lower bound
See Also:
setLowerBound(int)

setLowerBound

public void setLowerBound(int lowerBound)
Sets the lower bound.

Parameters:
lowerBound - the new lower bound

getUpperBound

public int getUpperBound()
Returns the upper bound.

Returns:
the upper bound
See Also:
setUpperBound(int)

setUpperBound

public void setUpperBound(int upperBound)
Sets the upper bound.

Parameters:
upperBound - the new upper bound

create

@Deprecated
public static GUIMultiplicityFilter create(GUIContainerComponent parent,
                                                      ISlot pinInput,
                                                      int lowerBound,
                                                      int upperBound)
Deprecated. Not for public use.


createIsEmpty

@Deprecated
public static GUIMultiplicityFilter createIsEmpty(GUIContainerComponent parent,
                                                             ISlot pinInput)
Deprecated. Not for public use.


createIsNotEmpty

@Deprecated
public static GUIMultiplicityFilter createIsNotEmpty(GUIContainerComponent parent,
                                                                ISlot pinInput)
Deprecated. Not for public use.