Uses of Class
net.ssehub.easy.varModel.model.values.Value
-
Packages that use Value Package Description net.ssehub.easy.instantiation.core.model.vilTypes.configuration All classes related to the EASy integration of configuration and decisions.net.ssehub.easy.producer.ui.confModel This package holds a GUI representation of the configuration with methods and additional information as needed by the Eclipse UI.net.ssehub.easy.producer.ui.internal This package holds extension classes of eclipse which must not be called or extended from other plug-ins.net.ssehub.easy.producer.ui.productline_editor This package contains the editor for configuring the product line.net.ssehub.easy.producer.ui.productline_editor.configuration This package holds classes for the configuration editor and super classes for similar configuration editors.net.ssehub.easy.reasoning.core.reasoner All classes and interfaces needed to implement a reasoner.
How to write a reasoner: Create an Eclipse Plugin project with Activator (even if "empty"). Addorg.eclipse.equinox.dsto the required plugins andorg.osgi.service.componentto the imported packages as your reasoner will be linked using OSGi descriptive services (DS) to the reasoner core.net.ssehub.easy.reasoning.sseReasoner Package contains the EASy-Producer reasoner implementation classes.net.ssehub.easy.reasoning.sseReasoner.model Package for creating a reasoning model: constraint container, project hierachy evaluator and other.net.ssehub.easy.varModel.confModel This package represents a specific variability model configuration.net.ssehub.easy.varModel.cst Package for elements of the constraint syntax tree.net.ssehub.easy.varModel.cstEvaluation Implements the evaluation of constraint syntax trees.net.ssehub.easy.varModel.model Base package for the variability model.net.ssehub.easy.varModel.model.filter This package contains utility classes for filtering the model for specific model elements.net.ssehub.easy.varModel.model.rewrite Classes for creating an (adapted) copy of theProject.net.ssehub.easy.varModel.model.values Instances of the datatypes.net.ssehub.easy.varModel.persistency These package is for reading and saving the variability model and the configuration.
Currently supported file formats: EASy-Producer 2.0 config files (xml) IVML -
-
Uses of Value in net.ssehub.easy.instantiation.core.model.vilTypes.configuration
Fields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration declared as Value Modifier and Type Field Description static ValueDecisionVariable. DEFAULTprivate ValueAbstractIvmlVariable.DecVar. valueFields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with type parameters of type Value Modifier and Type Field Description private java.util.Map<IDecisionVariable,Value>ChangeHistory. originalValuesMethods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that return Value Modifier and Type Method Description ValueChangeHistory. getOriginalValue(AbstractIvmlVariable variable)Returns the original value of a variable before any explicit change.ValueAbstractIvmlVariable.DecVar. getValue()Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type Value Modifier and Type Method Description voidIChangeHistoryVisitor. changed(AbstractIvmlVariable var, Value value)Called when a variable is about to be changed.private voidConfigurationContextResolver. collectReference(IDecisionVariable var, Value val, java.util.Map<AbstractVariable,java.util.List<IDecisionVariable>> references)Collects the references for a variable and a single value (entry in case of a collection).private static booleanChangeHistory. isSameValue(Value value1, Value value2)Returns whethervalue1andvalue2are the same.voidChangeHistory.ChangeListener. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)private voidChangeHistory.CSet. notifyChanged(AbstractIvmlVariable variable, Value value)Notifies this change set about a direct change within the scope of this change set.(package private) voidChangeHistory. notifyChanged(AbstractIvmlVariable variable, Value value)Notifies the change set about a changed variable.voidConfiguration. notifyValueChanged(AbstractIvmlVariable variable, Value oldValue)Is called to notify the configuration about a changed variable value.booleanAbstractIvmlVariable.DecVar. notifyWasAssigned(Value value)voidIChangeHistoryTracer. recordedChangedVariable(AbstractIvmlVariable variable, Value value)Recorded a change.voidIChangeHistoryTracer. recordedOriginalVariable(AbstractIvmlVariable variable, Value value)Recording the original value forvariable.private voidConfiguration. resolveAndAddValue(Value value, java.util.Set<java.lang.Object> result)Resolves the VIL decision variable object forvalueand adds it toresult.voidAbstractIvmlVariable.DecVar. setHistoryValue(Value value, IAssignmentState state)voidAbstractIvmlVariable.DecVar. setValue(Value value, IAssignmentState state)voidAbstractIvmlVariable.DecVar. setValue(Value value, IAssignmentState state, boolean asAssignment)voidAbstractIvmlVariable.DecVar. setValue(Value value, IAssignmentState state, IConfigurationElement nested)static java.lang.ObjectAbstractIvmlVariable. toObject(Value value)Returns value into the corresponding (VIL) object value.Constructors in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type Value Constructor Description DecVar(IDecisionVariable parent, Value value, DecisionVariableDeclaration decl)Creates a temporary decision variable. -
Uses of Value in net.ssehub.easy.producer.ui.confModel
Fields in net.ssehub.easy.producer.ui.confModel declared as Value Modifier and Type Field Description private ValueGUIHistoryItem. valueMethods in net.ssehub.easy.producer.ui.confModel that return Value Modifier and Type Method Description ValueGUIHistoryItem. getValue()Getter for the value.protected ValueAbstractExpandableGUIVariable. getValueAssignment(java.lang.Object value)protected ValueBasisGUIVariable. getValueAssignment(java.lang.Object value)protected ValueComboboxGUIVariable. getValueAssignment(java.lang.Object value)protected abstract ValueGUIVariable. getValueAssignment(java.lang.Object value)Converts the given object into aValue.Methods in net.ssehub.easy.producer.ui.confModel with parameters of type Value Modifier and Type Method Description protected GUIVariableAbstractExpandableGUIVariable. replace(GUIVariable nestedVariable, Value value)GUIVariableGUIConfiguration. replace(GUIVariable var, Value val)Replaces a variable to reflect the new value (of a more or less specific type).protected GUIVariableGUIVariable. replace(GUIVariable nestedVariable, Value value)Replaces a variable to reflect the new value (of a more or less specific type).(package private) static voidGUIVariable. replaceValue(IDecisionVariable decVar, Value value)Replaces the value indecVarbyvalue.private java.lang.ObjectComboboxGUIVariable. toObjectValue(Value value)Constructors in net.ssehub.easy.producer.ui.confModel with parameters of type Value Constructor Description GUIHistoryItem(Value value, IAssignmentState state, IDecisionVariable variable, java.lang.Long lastEdited)Sole constructor for this class. -
Uses of Value in net.ssehub.easy.producer.ui.internal
Methods in net.ssehub.easy.producer.ui.internal with parameters of type Value Modifier and Type Method Description static java.lang.StringTypeSelectionDialog. getActualTypeString(Value value, java.lang.String deflt)Returns "(actual:)" if valueis not null,defltelse. -
Uses of Value in net.ssehub.easy.producer.ui.productline_editor
Methods in net.ssehub.easy.producer.ui.productline_editor that return Value Modifier and Type Method Description protected ValueConfigurationTableEditorFactory.DelegatingGuiVariable. getValueAssignment(java.lang.Object value)ValueIOverridingEditor. getValueAssignment(java.lang.Object value)Converts the given object into aValue. -
Uses of Value in net.ssehub.easy.producer.ui.productline_editor.configuration
Fields in net.ssehub.easy.producer.ui.productline_editor.configuration declared as Value Modifier and Type Field Description private ValueAttributeFilter.AttributeFilterItem. valueMethods in net.ssehub.easy.producer.ui.productline_editor.configuration that return Value Modifier and Type Method Description private ValueAttributeFilter.AttributeFilterItem. getValue()Getter for the attribute.Methods in net.ssehub.easy.producer.ui.productline_editor.configuration with parameters of type Value Modifier and Type Method Description voidAttributeFilter. add(Attribute attribute, Value value)Adds an attribute to this filter.voidAttributeValuesPage.TemporaryAttributesConfiguration. addAttributeDecision(Attribute attribute, Value value)Adds an attribute decision to this configuration.voidAbstractConfigMenu. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)voidAttributeValuesPage.AttributeTableEditor. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)Notification that aDecisionVariablechanged inside theConfiguration.voidAttributeValuesPage. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)Notification that aDecisionVariablechanged inside theConfiguration.voidConfigurationTableEditor. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)voidFilterMenu.IAttributeSelectionChangedListener. selectionChanged(Attribute attribute, Value value)Is called when the current value ofattributeis being changed tovalue.voidAttributeValuesPage.TemporaryAttributesConfiguration. valueChanged(IDecisionVariable changedVariable, Value oldValue)To be called when a value changed.Constructors in net.ssehub.easy.producer.ui.productline_editor.configuration with parameters of type Value Constructor Description AttributeFilterItem(Value value)Sole constructor for this item. -
Uses of Value in net.ssehub.easy.reasoning.core.reasoner
Fields in net.ssehub.easy.reasoning.core.reasoner declared as Value Modifier and Type Field Description private ValueEvaluationResult.EvaluationPair. valueFields in net.ssehub.easy.reasoning.core.reasoner with type parameters of type Value Modifier and Type Field Description private java.util.Map<Attribute,java.util.List<Value>>AttributeValues.ResolutionVisitor. assignmentsprivate java.util.Map<Attribute,java.util.List<Value>>AttributeValues. valueAssignmentsprivate java.util.Map<java.lang.String,java.util.List<Value>>AttributesCheckVisitor. valuesMethods in net.ssehub.easy.reasoning.core.reasoner that return Value Modifier and Type Method Description ValueAttributeValues. getAttributeValue(Attribute attribute, int index)Returns the specific value assigned toattribute.ValueEvaluationResult.EvaluationPair. getValue()Returns the evaluated value.ValueValueCreationResult. getValue()Returns the created value.Methods in net.ssehub.easy.reasoning.core.reasoner that return types with arguments of type Value Modifier and Type Method Description java.util.Map<Attribute,java.util.List<Value>>AttributeValues.ResolutionVisitor. getAssignments()Returns the actual assignments.Methods in net.ssehub.easy.reasoning.core.reasoner with parameters of type Value Modifier and Type Method Description voidAttributeValues. addValue(Attribute attribute, Value value)Adds avaluefor a given attribute.static MessageAttributesCheckVisitor. createMessage(java.lang.String variableName, java.lang.String attributeName, Value value, ModelElement conflictingModelElement)Creates the error message in case that an attribute assignment is missing.booleanAttributeValues. hasValue(AbstractVariable attribute, Value value)Returns whether there is an assignment ofvaluetoattribute.voidAttributeValues. removeValue(Attribute attribute, Value value)Remove a givenvaluefrom the value assignment ofattribute.voidAttributeValues. setValue(Attribute attribute, Value value, int index)Adds avaluefor a given attribute.static java.lang.StringAttributeValues. toString(Value value)Turns avalueinto a string.Constructors in net.ssehub.easy.reasoning.core.reasoner with parameters of type Value Constructor Description EvaluationPair(Constraint constraint, EvaluationResult.ConstraintEvaluationResult result, Value value)Creates a pair with a given evaluation result. -
Uses of Value in net.ssehub.easy.reasoning.sseReasoner
Fields in net.ssehub.easy.reasoning.sseReasoner declared as Value Modifier and Type Field Description private ValueRescheduleValueChangeVisitor. oldValueprivate ValueCheckInitializerVisitor. valueMethods in net.ssehub.easy.reasoning.sseReasoner with parameters of type Value Modifier and Type Method Description private voidCheckInitializerVisitor. createConstraintFromValue(Value value)Creates a constraint from a value.private booleanRescheduleValueChangeVisitor. isValueTypeChange(IDecisionVariable variable, Value newValue, Value oldValue)Returns whether a value change fromoldValuetonewValueonvariableis a value type change.voidRescheduleValueChangeVisitor. notifyChanged(IDecisionVariable variable, Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)(package private) voidRescheduleValueChangeVisitor. rescheduleValueChange(IDecisionVariable varParent, IDecisionVariable variable, Value oldValue, boolean clear)Re-schedules a changed constraint value but only if rescheduling is needed.(package private) voidResolver. translateValueTypeChange(IDecisionVariable variable, Value newValue, Value oldValue)Translates/reschedules a change of value types for compound values. -
Uses of Value in net.ssehub.easy.reasoning.sseReasoner.model
Methods in net.ssehub.easy.reasoning.sseReasoner.model with type parameters of type Value Modifier and Type Method Description static <D extends Value>
DReasoningUtils. getRelevantValue(AbstractVariable decl, IDecisionVariable var, boolean incremental, java.lang.Class<D> filter)Returns the relevant value for reasoning.Methods in net.ssehub.easy.reasoning.sseReasoner.model that return Value Modifier and Type Method Description static ValueReasoningUtils. createTypeValue(IDatatype type)Creates a type value.static ValueReasoningUtils. getRelevantValue(AbstractVariable decl, IDecisionVariable var, boolean incremental)Returns the relevant value for reasoning.Methods in net.ssehub.easy.reasoning.sseReasoner.model with parameters of type Value Modifier and Type Method Description static ConstraintSyntaxTreeReasoningUtils. getConstraintValueExpression(Value value)Returns the expression for a constraint to be created for a constraint variable.static booleanReasoningUtils. getUsedCompoundTypes(Value val, java.util.Set<Compound> result)Returns the used types ifvalueis a container value. -
Uses of Value in net.ssehub.easy.varModel.confModel
Fields in net.ssehub.easy.varModel.confModel declared as Value Modifier and Type Field Description private ValueToplevelVarConfigProvider. valueFields in net.ssehub.easy.varModel.confModel with type parameters of type Value Modifier and Type Field Description private java.util.Map<java.lang.String,Value>AssignmentResolver.AssignBlockVisitor. annotationAssignmentsprivate java.util.Map<java.lang.String,Value>DecisionVariable.InitializationAnnotationVisitor. valuesMethods in net.ssehub.easy.varModel.confModel that return Value Modifier and Type Method Description private ValueToplevelVarConfigProvider. assignCompoundValue(CompoundValue value, IAssignmentState state, boolean allowDeletation, CompoundValue oldValue)Assigns a CompoundValue.private ValueToplevelVarConfigProvider. assignContainerValue(ContainerValue conValue, IAssignmentState state, boolean allowDeletation)Assigns a ContainerValue.private static ValueAssignmentResolver. augmentValue(Value value, IDecisionVariable variable, EvaluationVisitor evaluator, IConfiguration config, AssignmentResolver conflictHandler)If a value of a refined compound shall the first time be assigned to a variable of a super compound (polymorphic values), then also the default values of the refined compounds shall be taken into account and augment the value.static ValueConfiguration. dereference(IConfiguration conf, Value value)Dereferences a value.ValueConfiguration. getAllInstances(IDatatype type)Returns all instances of the given type and sub-types.ValueIConfiguration. getAllInstances(IDatatype type)Returns all instances oftype.protected ValueCompoundItemConfigProvider. getValue()ValueCompoundVariable. getValue()protected ValueContainerItemConfigProvider. getValue()ValueDecisionVariable. getValue()ValueIDecisionVariable. getValue()Returns the current value of thisIDecisionVariable.protected ValueToplevelVarConfigProvider. getValue()protected abstract ValueVariableConfigProvider. getValue()Returns the current value of thisIDecisionVariable.protected ValueConfigurationSaver. toSaveableValue(IDecisionVariable var, Value value)This method escapes special characters for saving them into a file.Methods in net.ssehub.easy.varModel.confModel with parameters of type Value Modifier and Type Method Description protected voidConfiguration. addAttributeDecision(Attribute attribute, Value value, IAssignmentState state)Adds an attribute decision to this configuration.private voidToplevelVarConfigProvider. assignValue(Value value, IAssignmentState state, boolean allowDeletation)Assigns a value.private static ValueAssignmentResolver. augmentValue(Value value, IDecisionVariable variable, EvaluationVisitor evaluator, IConfiguration config, AssignmentResolver conflictHandler)If a value of a refined compound shall the first time be assigned to a variable of a super compound (polymorphic values), then also the default values of the refined compounds shall be taken into account and augment the value.protected ConstraintSyntaxTreeConfigurationSaver. createAssignmentConstraint(Project dstProject, AbstractVariable decl, IDecisionVariable var, Value value)Creates an assignment constraint.static ValueConfiguration. dereference(IConfiguration conf, Value value)Dereferences a value.voidIConfigurationChangeListener. itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)Notification that aDecisionVariablechanged inside theConfiguration.booleanCompoundVariable. notifyWasAssigned(Value value)booleanContainerVariable. notifyWasAssigned(Value value)booleanDecisionVariable. notifyWasAssigned(Value value)booleanIDecisionVariable. notifyWasAssigned(Value value)Inform the variable independent of its own tracking that we believe that a value was assigned (although we did not due to equal values/performance reasons), in particular after resetting the track throughCommandAssignmentState#compareTo(CommandAssignmentState).private intConfigurationSaver. processAssignment(Project confProject, java.lang.StringBuilder errors, AbstractVariable decl, IDecisionVariable var, Value value)Processes an assignment.protected voidCompoundItemConfigProvider. setHistoryValue(Value value, IAssignmentState state)protected voidContainerItemConfigProvider. setHistoryValue(Value value, IAssignmentState state)voidDecisionVariable. setHistoryValue(Value value, IAssignmentState state)voidIDecisionVariable. setHistoryValue(Value value, IAssignmentState state)Changes the value (for incremental buildup) from value history.protected voidToplevelVarConfigProvider. setHistoryValue(Value value, IAssignmentState state)protected abstract voidVariableConfigProvider. setHistoryValue(Value value, IAssignmentState state)Changes the value from value history.voidBasisVariable. setValue(Value value, IAssignmentState state, IConfigurationElement nested)protected voidCompoundItemConfigProvider. setValue(Value value, IAssignmentState state)voidCompoundVariable. setValue(Value value, IAssignmentState state)Changes the value (for incremental buildup).voidCompoundVariable. setValue(Value value, IAssignmentState state, IConfigurationElement nested)voidConfiguration. setValue(Value value, IAssignmentState state, IConfigurationElement nested)protected voidContainerItemConfigProvider. setValue(Value value, IAssignmentState state)voidContainerVariable. setValue(Value value, IAssignmentState state)voidContainerVariable. setValue(Value value, IAssignmentState state, IConfigurationElement nested)voidDecisionVariable. setValue(Value value, IAssignmentState state)voidDecisionVariable. setValue(Value value, IAssignmentState state, boolean asAssignment)voidIConfigurationElement. setValue(Value value, IAssignmentState state, IConfigurationElement nested)Changes the value of a nested variable.voidIDecisionVariable. setValue(Value value, IAssignmentState state)Changes the value (for incremental buildup).voidIDecisionVariable. setValue(Value value, IAssignmentState state, boolean asAssignment)Changes the value.protected voidToplevelVarConfigProvider. setValue(Value value, IAssignmentState state)protected abstract voidVariableConfigProvider. setValue(Value value, IAssignmentState state)Changes the value (for incremental buildup).private voidToplevelVarConfigProvider. setValueImpl(Value value)Changes the value adjustingthe parent variable of the involved values).protected ValueConfigurationSaver. toSaveableValue(IDecisionVariable var, Value value)This method escapes special characters for saving them into a file.(package private) voidConfiguration. variableChanged(IDecisionVariable var, Value oldValue)Notifies all registeredIConfigurationChangeListeners that aIDecisionVariablechanged.Method parameters in net.ssehub.easy.varModel.confModel with type arguments of type Value Modifier and Type Method Description private voidAssignmentResolver. resolveAnnotationAssignments(AttributeAssignment assignBlock, java.util.Map<java.lang.String,Value> annotationAssignments, java.util.List<IDecisionVariable> parents)Recursive method for resolving annotation assignments (part ofAssignmentResolver.resolveAnnotationAssignments(Project).private voidCompoundVariable. resolveAssignBlocks(AttributeAssignment assignBlock, java.util.Map<java.lang.String,Value> annotationValues)Second recursive part ofCompoundVariable.resolveAssignBlocks(Compound), find (nested assign blocks) inside the currently visited compound and set values to the associatedIDecisionVariables.Constructors in net.ssehub.easy.varModel.confModel with parameters of type Value Constructor Description ToplevelVarConfigProvider(IDecisionVariable relatedVariable, Value value, IAssignmentState state)Sole constructor for creating aVariableConfigProviderfor a toplevelIDecisionVariable.Constructor parameters in net.ssehub.easy.varModel.confModel with type arguments of type Value Constructor Description AssignBlockVisitor(java.util.Map<java.lang.String,Value> annotationAssignments, java.util.List<IDecisionVariable> parents)Sole constructor of this class. -
Uses of Value in net.ssehub.easy.varModel.cst
Fields in net.ssehub.easy.varModel.cst declared as Value Modifier and Type Field Description private ValueConstantValue. constantMethods in net.ssehub.easy.varModel.cst that return Value Modifier and Type Method Description ValueConstantValue. getConstantValue()Getter-Method for the constant-value.Methods in net.ssehub.easy.varModel.cst with parameters of type Value Modifier and Type Method Description voidUnresolvedExpression. setConstantValue(Value value)Changes the actual expression to a constant value.Constructors in net.ssehub.easy.varModel.cst with parameters of type Value Constructor Description ConstantValue(Value constant)Sole constructor for the creation of a constant value. -
Uses of Value in net.ssehub.easy.varModel.cstEvaluation
Subclasses of Value in net.ssehub.easy.varModel.cstEvaluation Modifier and Type Class Description (package private) classListWrapperValueSpecial wrapper value for lists.Fields in net.ssehub.easy.varModel.cstEvaluation declared as Value Modifier and Type Field Description private ValueContextStack.StackFrame. selfprivate ValueEvaluationVisitor. selfValueprivate ValueConstantAccessor. valueprivate ValueConstantValueResolver. valueprivate ValueLocalDecisionVariable. valueFields in net.ssehub.easy.varModel.cstEvaluation with type parameters of type Value Modifier and Type Field Description private static java.util.Comparator<Value>ContainerIterators. INT_COMPARATORA comparator forint values.private static java.util.Comparator<Value>ContainerIterators. REAL_COMPARATORA comparator forreal values.private java.util.List<Value>ListWrapperValue. valuesMethods in net.ssehub.easy.varModel.cstEvaluation that return Value Modifier and Type Method Description ValueContainerIterators.ClosureIteratorEvaluator. aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, java.util.Map<java.lang.Object,java.lang.Object> data)ValueIIteratorEvaluator. aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, java.util.Map<java.lang.Object,java.lang.Object> data)Aggregatevaluetoresult.(package private) ValueEvaluationVisitor.EvaluationContextImpl. bind(IDatatype type)Binds the type to the first/closest definition of type.(package private) ValueLocalConfiguration. bind(IDatatype type, EvaluationContext context)Binds the giventypeto the first matching decision variable.private ValueVariableValueCopier. copy(IDecisionVariable source, IDecisionVariable target, VariableValueCopier.IFreezeProvider freezeProvider)Copies the value ofsourcevariable to targetvariable.private ValueVariableValueCopier. copySingleVariable(IDecisionVariable source, IDecisionVariable target, VariableValueCopier.IFreezeProvider freezeProvider, boolean adding)Copies a single variable fromsourceto target and ensures in case of a reference target that a respective variable is created.ValueEvaluationVisitor.EvaluationContextImpl. getAllInstances(IDatatype type)ValueLocalConfiguration. getAllInstances(IDatatype type)ValueEvaluationAccessor. getDereferencedValue()Returns the value of the accessed element, referred values are dereferenced.
Note: This method is expensive as it may create a newEvaluationVisitorto resolve reference expressions.ValueEvaluationContext. getDereferencedValue(Value value)Dereferences a value within this context.ValueListWrapperValue. getElement(int index)Returns the specified element.ValueAbstractDecisionVariableEvaluationAccessor. getReferenceValue()ValueConstantAccessor. getReferenceValue()abstract ValueEvaluationAccessor. getReferenceValue()Returns the value of a reference to the accessed element.ValueIndexAccessor. getReferenceValue()ValueEvaluationVisitor. getResult()ValueIConstraintEvaluator. getResult()Returns the evaluation result.(package private) ValueContextStack. getSelfValue()Returns the value for self in the current context.ValueContainerIterators.CollectingIteratorEvaluator. getStartResult(IDatatype type, IDatatype iterType)ValueContainerIterators.NumberIteratorEvaluator. getStartResult(IDatatype type, IDatatype iterType)ValueIIteratorEvaluator. getStartResult(IDatatype type, IDatatype iterType)Returns the start result.ValueCompoundSlotAccessor. getValue()ValueConstantAccessor. getValue()(package private) ValueConstantValueResolver. getValue()Returns the resolved value and clears the internal state.ValueContainerElementAccessor. getValue()abstract ValueEvaluationAccessor. getValue()Returns the value of the accessed element.ValueIEvaluationInterceptor. getValue(IDecisionVariable var)ValueIndexAccessor. getValue()ValueLocalDecisionVariable. getValue()ValueVariableAccessor. getValue()private static ValueVariableValueCopier. keepFirst(Value actual, Value newValue)Keeps the first value ofactualandnewValue.Methods in net.ssehub.easy.varModel.cstEvaluation with parameters of type Value Modifier and Type Method Description ValueContainerIterators.ClosureIteratorEvaluator. aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, java.util.Map<java.lang.Object,java.lang.Object> data)BooleanValueContainerIterators.CollectIteratorEvaluator. aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, java.util.Map<java.lang.Object,java.lang.Object> data)BooleanValueContainerIterators.NumberIteratorEvaluator. aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, java.util.Map<java.lang.Object,java.lang.Object> data)ValueIIteratorEvaluator. aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, java.util.Map<java.lang.Object,java.lang.Object> data)Aggregatevaluetoresult.private booleanCompoundSlotAccessor. assignValue(Value value, boolean asAssignment)Assigns the value.ConstantAccessorConstantAccessor. bind(Value value, boolean isConstant, EvaluationContext context)Binds the accessor to the given value and context.intContainerIterators.DefaultValueComparator. compare(Value o1, Value o2)protected IDecisionVariableEvaluationAccessor. dereferenceIfNeeded(IDecisionVariable variable, Value value)Dereferencesvariableif of reference type andvalueis not of reference type.(package private) static EvaluationAccessorGenericOperations. equalsNull(Value operand, Value argument, EvaluationContext context, boolean negate)Implements a generic equality operation for null values.booleanListWrapperValue. equalsPartially(Value value)voidContainerOperations.ContainerValueOperation. evaluate(ContainerOperations.ContainerArgument cont, Value value, java.util.List<Value> result, EvaluationAccessor resAcc)Evaluates the specific function on a container and a value possibly modifyingresult.private booleanEvaluationVisitor.ContainerIterationExecutor. evaluateIterator(int iter, Value iterVal, IDecisionVariable iterVar, int maxIter, boolean setSelf, EvaluationAccessor rVar)Evaluates an iterator.(package private) static voidContainerOperations. flatten(Value value, java.util.Collection<Value> result)(Recursively) Flattens the given value if needed.ValueEvaluationContext. getDereferencedValue(Value value)Dereferences a value within this context.private IValueParentLocalDecisionVariable. getValueParent(Value value)Returns the value parent ofvalue.private voidVariableValueCopier. handleFurther(IDecisionVariable base, java.lang.String[] names, Value value)Assignsvalueto the further variables onbasegiven innamesat index positions larger than 0.private booleanContainerIterators.ClosureIteratorEvaluator. handleNextValue(Value value, ContainerValue result, java.util.Map<java.lang.Object,java.lang.Object> data, java.util.List<Value> nextValues)Handles the next value by checking whether it was already added.private static ValueVariableValueCopier. keepFirst(Value actual, Value newValue)Keeps the first value ofactualandnewValue.voidVariableValueCopier.IAssignmentListener. notifyAssigned(IDecisionVariable target, Value value, boolean added)Notifies about assigned values.private voidVariableValueCopier. notifyAssigned(IDecisionVariable target, Value value, boolean added)Notifies about assigned values.voidIValueChangeListener. notifyChanged(IDecisionVariable variable, Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)Called if the value of a variable has been modified.abstract voidEvaluationContext. notifyChangeListener(IDecisionVariable variable, Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)Notifies the change listener, i.e., the value ofvariablehas changed.voidEvaluationVisitor.EvaluationContextImpl. notifyChangeListener(IDecisionVariable variable, Value value, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)private voidLocalDecisionVariable. notifyValueChanged(Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)Notifies the change listener if defined.protected voidAbstractDecisionVariableEvaluationAccessor. notifyVariableChange(Value oldValue, IAssignmentState oldState, IValueChangeListener.ChangeKind kind)Notifies the underlying variable about a change.booleanLocalDecisionVariable. notifyWasAssigned(Value value)private IValueParentLocalDecisionVariable. obtainValueParent(Value value)Obtains the value parent for the stored value, the given value or the value of one of the parents.voidLocalDecisionVariable. setHistoryValue(Value value, IAssignmentState state)booleanCompoundSlotAccessor. setValue(Value value, boolean asAssignment)booleanConstantAccessor. setValue(Value value, boolean asAssignment)booleanContainerElementAccessor. setValue(Value value, boolean asAssignment)voidEvaluationAccessor. setValue(EvaluationAccessor accessor, Value value)Changes a nested value based on the given accessor.abstract booleanEvaluationAccessor. setValue(Value value, boolean asAssignment)Defines a new value for the accessed element.booleanIEvaluationInterceptor. setValue(IDecisionVariable var, Value val, boolean asAssignment, EvaluationAccessor acc)booleanIndexAccessor. setValue(Value value, boolean asAssignment)voidLocalDecisionVariable. setValue(Value value, IAssignmentState state)voidLocalDecisionVariable. setValue(Value value, IAssignmentState state, boolean asAssignment)voidLocalDecisionVariable. setValue(Value value, IAssignmentState state, IConfigurationElement nested)voidVariableAccessor. setValue(EvaluationAccessor accessor, Value value)Changes a nested value based on the given accessor.private booleanVariableAccessor. setValue(EvaluationContext context, Value value, boolean asAssignment)Changes the value within the given evaluation context.booleanVariableAccessor. setValue(Value value, boolean asAssignment)private static IDatatypeGenericOperations. toType(Value value)Returns the type ofvalue.Method parameters in net.ssehub.easy.varModel.cstEvaluation with type arguments of type Value Modifier and Type Method Description (package private) static voidContainerOperations. addAll(ContainerOperations.ContainerArgument cnt, java.util.List<Value> result, EvaluationAccessor resAcc)Adds all elements incnttoresult.(package private) static voidContainerOperations. addAll(ContainerOperations.ContainerArgument cnt, java.util.Set<Value> result, EvaluationAccessor resAcc)Adds all elements incnttoresult.private static voidSetOperations. addAll(ContainerOperations.ContainerArgument cnt, java.util.List<Value> result, java.util.HashSet<Value> done, EvaluationAccessor resAcc)Adds all elements incnttoresult.private static voidSetOperations. addAll(ContainerOperations.ContainerArgument cnt, java.util.List<Value> result, java.util.HashSet<Value> done, EvaluationAccessor resAcc)Adds all elements incnttoresult.private static voidSetOperations. addAllXor(ContainerOperations.ContainerArgument cnt, java.util.HashSet<Value> set1, java.util.HashSet<Value> set2, java.util.List<Value> result, EvaluationAccessor resAcc)Adds all elements fromcnttoresultif the individual elements are either inset1or inset2.private static voidSetOperations. addAllXor(ContainerOperations.ContainerArgument cnt, java.util.HashSet<Value> set1, java.util.HashSet<Value> set2, java.util.List<Value> result, EvaluationAccessor resAcc)Adds all elements fromcnttoresultif the individual elements are either inset1or inset2.voidContainerOperations.Container2Operation. evaluate(ContainerOperations.ContainerArgument c1, ContainerOperations.ContainerArgument c2, java.util.List<Value> result, EvaluationAccessor resultAccessor)Evaluates the specific function on two container values possibly modifyingresult.voidContainerOperations.ContainerValueOperation. evaluate(ContainerOperations.ContainerArgument cont, Value value, java.util.List<Value> result, EvaluationAccessor resAcc)Evaluates the specific function on a container and a value possibly modifyingresult.(package private) static voidContainerOperations. flatten(Value value, java.util.Collection<Value> result)(Recursively) Flattens the given value if needed.private booleanContainerIterators.ClosureIteratorEvaluator. handleNextValue(Value value, ContainerValue result, java.util.Map<java.lang.Object,java.lang.Object> data, java.util.List<Value> nextValues)Handles the next value by checking whether it was already added.Constructor parameters in net.ssehub.easy.varModel.cstEvaluation with type arguments of type Value Constructor Description ListWrapperValue(java.util.List<Value> values)Creates a list wrapper value. -
Uses of Value in net.ssehub.easy.varModel.model
Methods in net.ssehub.easy.varModel.model that return Value Modifier and Type Method Description static ValueModelQuery. enumLiteralAsValue(IResolutionScope elements, java.lang.String name)Finds a referenced enum literal inproject.Constructors in net.ssehub.easy.varModel.model with parameters of type Value Constructor Description AbstractVariable(java.lang.String name, IDatatype type, Value defaultValue, IModelElement parent)Constructor for explicit variable creation. -
Uses of Value in net.ssehub.easy.varModel.model.filter
Methods in net.ssehub.easy.varModel.model.filter with parameters of type Value Modifier and Type Method Description protected voidAbstractVariableInConstraintFinder. visitValue(Value value)Recursive method to find reference values pointing to aAbstractVariable.protected voidIDecisionVariableInConstraintFinder. visitValue(Value value)Recursive method to find reference values pointing to aAbstractVariable. -
Uses of Value in net.ssehub.easy.varModel.model.rewrite
Fields in net.ssehub.easy.varModel.model.rewrite declared as Value Modifier and Type Field Description private ValueValueCopy. copiedValueStores the current visited value.private ValueValueCopyVisitor. resultMethods in net.ssehub.easy.varModel.model.rewrite that return Value Modifier and Type Method Description (package private) ValueValueCopyVisitor. getResult()Returns the deep copied value after visitation.(package private) ValueValueCopy. getValue()Returns the filtered and copied value.Constructors in net.ssehub.easy.varModel.model.rewrite with parameters of type Value Constructor Description ValueCopy(RewriteContext context, Value value)Single constructor of this class. -
Uses of Value in net.ssehub.easy.varModel.model.values
Subclasses of Value in net.ssehub.easy.varModel.model.values Modifier and Type Class Description classBasisDatatypeValueHolding basis data types.classBooleanValueThis class holds the value for the boolean.classCompoundValueCompoundValue class.classConstraintValueThis class holds the value for a constraint type.classContainerValueContainerValue class.classEnumValueHolding enum literals.classIntValueThis class holds the value for the integer.classMetaTypeValueHolds the value for aMetaType.classNullValueDefines the null value.classRealValueThis class holds the value for the real.classReferenceValueReference value class.classStringValueThis class holds the value for the string.(package private) classStructuredValueSuper class ofContainerValueandCompoundValue.classVersionValueThis class holds the value for a version.Fields in net.ssehub.easy.varModel.model.values declared as Value Modifier and Type Field Description static ValueNullValue. INSTANCEThe only instance of the null value.Fields in net.ssehub.easy.varModel.model.values with type parameters of type Value Modifier and Type Field Description private java.util.HashMap<java.lang.String,Value>CompoundValue. nestedElementsprivate java.util.List<Value>ContainerValue. nestedElementsMethods in net.ssehub.easy.varModel.model.values that return Value Modifier and Type Method Description ValueBooleanValue. clone()ValueConstraintValue. clone()ValueEnumValue. clone()ValueIntValue. clone()ValueMetaTypeValue. clone()ValueNullValue. clone()ValueRealValue. clone()ValueReferenceValue. clone()ValueStringValue. clone()ValueValue. clone()Clones the this value.ValueVersionValue. clone()static ValueValueFactory. createValue(IDatatype type, java.lang.Object... value)Creates and returns a Value.ValueValueFactory.IValueCreator. createValue(IDatatype type, java.lang.Object... value)Part of this Factory, should call the constructor of a value.ValueContainerValue. getElement(int index)Returns the specified element.ValueCompoundValue. getNestedValue(java.lang.String name)Returns the value for the variable with the given name.Methods in net.ssehub.easy.varModel.model.values that return types with arguments of type Value Modifier and Type Method Description java.util.Iterator<Value>ContainerValue. iterator()Returns an iterator over all values.Methods in net.ssehub.easy.varModel.model.values with parameters of type Value Modifier and Type Method Description voidContainerValue. addElement(int pos, Value value)Adds avalueat the positionpos.voidContainerValue. addElement(Value value)Adds an element to this container.private voidContainerValue. checkContainedType(Value value)Checks whethervalueis type compliant with theContainerValue.getContainedType().static booleanValue. equals(Value v1, Value v2)Returns whetherv1andv2are#equals(Value)equal considering the case thatv1may be null.booleanBasisDatatypeValue. equalsPartially(Value value)booleanCompoundValue. equalsPartially(Value value)booleanContainerValue. equalsPartially(Value value)booleanEnumValue. equalsPartially(Value value)booleanMetaTypeValue. equalsPartially(Value value)booleanNullValue. equalsPartially(Value value)booleanReferenceValue. equalsPartially(Value value)abstract booleanValue. equalsPartially(Value value)Returns whether the providedvalueis partially equal to this value, i.e., whether the nested elements ofvalue(if they exist) have the same contents as in this value.static booleanValue. equalsPartially(Value v1, Value v2)Returns whetherv1andv2areequalsPartially(Value)partially equal considering the case thatv1may be null.intContainerValue. indexOf(Value value)Returns the (first) index of the specified (nested) value.voidContainerValue. removeElement(Value value)Removes a value from this container.voidContainerValue. setValue(int index, Value nestedValue)Sets the value for an already existent nested value.Method parameters in net.ssehub.easy.varModel.model.values with type arguments of type Value Modifier and Type Method Description private voidContainerValue. doAll(java.util.HashSet<Value> set, boolean add)Adds/removes all elements to/fromset.Constructors in net.ssehub.easy.varModel.model.values with parameters of type Value Constructor Description ValueDoesNotMatchTypeException(java.lang.String valueString, Value value, int code)Creates a new mismatch exception. -
Uses of Value in net.ssehub.easy.varModel.persistency
Fields in net.ssehub.easy.varModel.persistency with type parameters of type Value Modifier and Type Field Description private java.util.Stack<Value>IVMLWriter. nestedValuesMethods in net.ssehub.easy.varModel.persistency with parameters of type Value Modifier and Type Method Description static java.lang.StringStringProvider. toIvmlString(Value value)Turns a value into a string containing IVML.protected booleanIVMLWriter. writeValue(Value value)Returns whether a certain value shall be written.
-