Uses of Class
net.ssehub.easy.varModel.model.values.Value
Packages that use Value
Package
Description
This package represents a specific variability model configuration.
Package for elements of the constraint syntax tree.
Implements the evaluation of constraint syntax trees.
Base package for the variability model.
This package contains utility classes for filtering the model for specific model elements.
Classes for creating an (adapted) copy of the
Project.Instances of the datatypes.
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
Currently supported file formats: EASy-Producer 2.0 config files (xml) IVML
-
Uses of Value in net.ssehub.easy.varModel.confModel
Fields in net.ssehub.easy.varModel.confModel declared as ValueFields in net.ssehub.easy.varModel.confModel with type parameters of type ValueModifier and TypeFieldDescriptionAssignmentResolver.AssignBlockVisitor.annotationAssignmentsDecisionVariable.InitializationAnnotationVisitor.valuesMethods in net.ssehub.easy.varModel.confModel that return ValueModifier and TypeMethodDescriptionprivate 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.Configuration.getAllInstances(IDatatype type) Returns all instances of the given type and sub-types.IConfiguration.getAllInstances(IDatatype type) Returns all instances oftype.protected ValueCompoundItemConfigProvider.getValue()CompoundVariable.getValue()protected ValueContainerItemConfigProvider.getValue()DecisionVariable.getValue()IDecisionVariable.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 ValueModifier and TypeMethodDescriptionprotected 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 throughEnum.compareTo(CommandAssignmentState).private intConfigurationSaver.processAssignment(Project confProject, 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 adjustingsetValueParent(net.ssehub.easy.varModel.model.values.IValueParent)the 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 ValueModifier and TypeMethodDescriptionprivate voidAssignmentResolver.resolveAnnotationAssignments(AttributeAssignment assignBlock, Map<String, Value> annotationAssignments, List<IDecisionVariable> parents) Recursive method for resolving annotation assignments (part ofAssignmentResolver.resolveAnnotationAssignments(Project).private voidCompoundVariable.resolveAssignBlocks(AttributeAssignment assignBlock, Map<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 ValueModifierConstructorDescriptionprotectedToplevelVarConfigProvider(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 ValueModifierConstructorDescriptionprivateAssignBlockVisitor(Map<String, Value> annotationAssignments, 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 ValueMethods in net.ssehub.easy.varModel.cst that return ValueModifier and TypeMethodDescriptionConstantValue.getConstantValue()Getter-Method for the constant-value.Methods in net.ssehub.easy.varModel.cst with parameters of type ValueModifier and TypeMethodDescriptionvoidUnresolvedExpression.setConstantValue(Value value) Changes the actual expression to a constant value.Constructors in net.ssehub.easy.varModel.cst with parameters of type ValueModifierConstructorDescriptionConstantValue(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.cstEvaluationModifier and TypeClassDescription(package private) classSpecial wrapper value for lists.Fields in net.ssehub.easy.varModel.cstEvaluation declared as ValueModifier and TypeFieldDescriptionprivate ValueContextStack.StackFrame.selfprivate ValueEvaluationVisitor.selfValueprivate ValueConstantAccessor.valueprivate ValueConstantValueResolver.valueprivate ValueLocalDecisionVariable.valueFields in net.ssehub.easy.varModel.cstEvaluation with type parameters of type ValueModifier and TypeFieldDescriptionprivate static final Comparator<Value> ContainerIterators.INT_COMPARATORA comparator forint values.private static final Comparator<Value> ContainerIterators.REAL_COMPARATORA comparator forreal values.ListWrapperValue.valuesMethods in net.ssehub.easy.varModel.cstEvaluation that return ValueModifier and TypeMethodDescriptionContainerIterators.ClosureIteratorEvaluator.aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, Map<Object, Object> data) IIteratorEvaluator.aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, Map<Object, Object> data) Aggregatevaluetoresult.(package private) ValueBinds 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.EvaluationVisitor.EvaluationContextImpl.getAllInstances(IDatatype type) LocalConfiguration.getAllInstances(IDatatype type) EvaluationAccessor.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.EvaluationContext.getDereferencedValue(Value value) Dereferences a value within this context.ListWrapperValue.getElement(int index) Returns the specified element.AbstractDecisionVariableEvaluationAccessor.getReferenceValue()ConstantAccessor.getReferenceValue()abstract ValueEvaluationAccessor.getReferenceValue()Returns the value of a reference to the accessed element.IndexAccessor.getReferenceValue()EvaluationVisitor.getResult()IConstraintEvaluator.getResult()Returns the evaluation result.(package private) ValueContextStack.getSelfValue()Returns the value for self in the current context.ContainerIterators.CollectingIteratorEvaluator.getStartResult(IDatatype type, IDatatype iterType) ContainerIterators.NumberIteratorEvaluator.getStartResult(IDatatype type, IDatatype iterType) IIteratorEvaluator.getStartResult(IDatatype type, IDatatype iterType) Returns the start result.CompoundSlotAccessor.getValue()ConstantAccessor.getValue()(package private) ValueConstantValueResolver.getValue()Returns the resolved value and clears the internal state.ContainerElementAccessor.getValue()abstract ValueEvaluationAccessor.getValue()Returns the value of the accessed element.IEvaluationInterceptor.getValue(IDecisionVariable var) IndexAccessor.getValue()LocalDecisionVariable.getValue()VariableAccessor.getValue()private static ValueKeeps the first value ofactualandnewValue.Methods in net.ssehub.easy.varModel.cstEvaluation with parameters of type ValueModifier and TypeMethodDescriptionContainerIterators.ClosureIteratorEvaluator.aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, Map<Object, Object> data) ContainerIterators.CollectIteratorEvaluator.aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, Map<Object, Object> data) ContainerIterators.NumberIteratorEvaluator.aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, Map<Object, Object> data) IIteratorEvaluator.aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, Map<Object, Object> data) Aggregatevaluetoresult.private final booleanCompoundSlotAccessor.assignValue(Value value, boolean asAssignment) Assigns the value.ConstantAccessor.bind(Value value, boolean isConstant, EvaluationContext context) Binds the accessor to the given value and context.intprotected IDecisionVariableEvaluationAccessor.dereferenceIfNeeded(IDecisionVariable variable, Value value) Dereferencesvariableif of reference type andvalueis not of reference type.(package private) static final 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, 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, Collection<Value> result) (Recursively) Flattens the given value if needed.EvaluationContext.getDereferencedValue(Value value) Dereferences a value within this context.private IValueParentLocalDecisionVariable.getValueParent(Value value) Returns the value parent ofvalue.private voidVariableValueCopier.handleFurther(IDecisionVariable base, String[] names, Value value) Assignsvalueto the further variables onbasegiven innamesat index positions larger than 0.private booleanContainerIterators.ClosureIteratorEvaluator.handleNextValue(Value value, ContainerValue result, Map<Object, Object> data, List<Value> nextValues) Handles the next value by checking whether it was already added.private static ValueKeeps 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) booleanbooleanbooleanvoidEvaluationAccessor.setValue(EvaluationAccessor accessor, Value value) Changes a nested value based on the given accessor.abstract booleanDefines a new value for the accessed element.booleanIEvaluationInterceptor.setValue(IDecisionVariable var, Value val, boolean asAssignment, EvaluationAccessor acc) booleanvoidLocalDecisionVariable.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.booleanprivate static IDatatypeReturns the type ofvalue.Method parameters in net.ssehub.easy.varModel.cstEvaluation with type arguments of type ValueModifier and TypeMethodDescription(package private) static final voidContainerOperations.addAll(ContainerOperations.ContainerArgument cnt, List<Value> result, EvaluationAccessor resAcc) Adds all elements incnttoresult.(package private) static final voidContainerOperations.addAll(ContainerOperations.ContainerArgument cnt, Set<Value> result, EvaluationAccessor resAcc) Adds all elements incnttoresult.private static final voidSetOperations.addAll(ContainerOperations.ContainerArgument cnt, List<Value> result, HashSet<Value> done, EvaluationAccessor resAcc) Adds all elements incnttoresult.private static final voidSetOperations.addAll(ContainerOperations.ContainerArgument cnt, List<Value> result, HashSet<Value> done, EvaluationAccessor resAcc) Adds all elements incnttoresult.private static voidSetOperations.addAllXor(ContainerOperations.ContainerArgument cnt, HashSet<Value> set1, HashSet<Value> set2, List<Value> result, EvaluationAccessor resAcc) Adds all elements fromcnttoresultif the individual elements are either inset1or inset2.private static voidSetOperations.addAllXor(ContainerOperations.ContainerArgument cnt, HashSet<Value> set1, HashSet<Value> set2, 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, List<Value> result, EvaluationAccessor resultAccessor) Evaluates the specific function on two container values possibly modifyingresult.voidContainerOperations.ContainerValueOperation.evaluate(ContainerOperations.ContainerArgument cont, Value value, List<Value> result, EvaluationAccessor resAcc) Evaluates the specific function on a container and a value possibly modifyingresult.(package private) static voidContainerOperations.flatten(Value value, Collection<Value> result) (Recursively) Flattens the given value if needed.private booleanContainerIterators.ClosureIteratorEvaluator.handleNextValue(Value value, ContainerValue result, Map<Object, Object> data, 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 ValueModifierConstructorDescription(package private)ListWrapperValue(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 ValueModifier and TypeMethodDescriptionstatic ValueModelQuery.enumLiteralAsValue(IResolutionScope elements, String name) Finds a referenced enum literal inproject.Constructors in net.ssehub.easy.varModel.model with parameters of type ValueModifierConstructorDescriptionAbstractVariable(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 ValueModifier and TypeMethodDescriptionprotected 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 ValueModifier and TypeFieldDescriptionprivate ValueValueCopy.copiedValueStores the current visited value.private ValueValueCopyVisitor.resultMethods in net.ssehub.easy.varModel.model.rewrite that return ValueModifier and TypeMethodDescription(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 ValueModifierConstructorDescription(package private)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.valuesModifier and TypeClassDescriptionclassHolding basis data types.classThis class holds the value for the boolean.classCompoundValue class.classThis class holds the value for a constraint type.classContainerValue class.classHolding enum literals.classThis class holds the value for the integer.classHolds the value for aMetaType.final classDefines the null value.classThis class holds the value for the real.classReference value class.classThis class holds the value for the string.(package private) classSuper class ofContainerValueandCompoundValue.classThis class holds the value for a version.Fields in net.ssehub.easy.varModel.model.values declared as ValueModifier and TypeFieldDescriptionstatic final ValueNullValue.INSTANCEThe only instance of the null value.Fields in net.ssehub.easy.varModel.model.values with type parameters of type ValueMethods in net.ssehub.easy.varModel.model.values that return ValueModifier and TypeMethodDescriptionBooleanValue.clone()ConstraintValue.clone()EnumValue.clone()IntValue.clone()MetaTypeValue.clone()NullValue.clone()RealValue.clone()ReferenceValue.clone()StringValue.clone()Value.clone()Clones the this value.VersionValue.clone()static ValueValueFactory.createValue(IDatatype type, Object... value) Creates and returns a Value.ValueFactory.IValueCreator.createValue(IDatatype type, Object... value) Part of this Factory, should call the constructor of a value.ContainerValue.getElement(int index) Returns the specified element.CompoundValue.getNestedValue(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 ValueMethods in net.ssehub.easy.varModel.model.values with parameters of type ValueModifier and TypeMethodDescriptionvoidContainerValue.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 booleanbooleanBasisDatatypeValue.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.intReturns the (first) index of the specified (nested) value.voidContainerValue.removeElement(Value value) Removes a value from this container.voidSets the value for an already existent nested value.Method parameters in net.ssehub.easy.varModel.model.values with type arguments of type ValueModifier and TypeMethodDescriptionprivate voidAdds/removes all elements to/fromset.Constructors in net.ssehub.easy.varModel.model.values with parameters of type ValueModifierConstructorDescriptionValueDoesNotMatchTypeException(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 ValueMethods in net.ssehub.easy.varModel.persistency with parameters of type ValueModifier and TypeMethodDescriptionbooleanIVMLWriter.EmitFilter.test(AbstractVariable var, Value val) Returns whether the given variable with the given value shall be emitted.static final 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.