Package net.ssehub.easy.varModel.model
Class AttributeAssignment.Assignment
java.lang.Object
net.ssehub.easy.varModel.model.AttributeAssignment.Assignment
- Enclosing class:
AttributeAssignment
Characterizes an attribute-value assignment. Please note that this instance may store
the data to be applied to multiple attributes.
- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for serialization.Assignment(String name, String operation, ConstraintSyntaxTree expression) Creates an attribute-value assignment. -
Method Summary
Modifier and TypeMethodDescriptionReturns the expression representing the actual value of the assignment.getName()Returns the name of the attribute the value shall be assigned to.Returns the operation of this individual attribute assignment.
-
Field Details
-
name
-
expression
-
operation
-
-
Constructor Details
-
Assignment
Assignment()Constructor for serialization. -
Assignment
Creates an attribute-value assignment.- Parameters:
name- the name of the attribute the value shall be assigned tooperation- the operation to be applied (as string as this data may apply to multiple attributes)expression- the value expression
-
-
Method Details
-
getName
Returns the name of the attribute the value shall be assigned to.- Returns:
- the name of the attribute
-
getExpression
Returns the expression representing the actual value of the assignment.- Returns:
- the value expression
-
getOperation
Returns the operation of this individual attribute assignment. We cannot store the name and data in this instance as it may apply to multiple attributes.- Returns:
- the name of the operation
-