Class AttributeAssignment.Assignment

java.lang.Object
net.ssehub.easy.varModel.model.AttributeAssignment.Assignment
Enclosing class:
AttributeAssignment

public static class AttributeAssignment.Assignment extends Object
Characterizes an attribute-value assignment. Please note that this instance may store the data to be applied to multiple attributes.
Author:
Holger Eichelberger
  • Field Details

  • Constructor Details

    • Assignment

      Assignment()
      Constructor for serialization.
    • Assignment

      public Assignment(String name, String operation, ConstraintSyntaxTree expression)
      Creates an attribute-value assignment.
      Parameters:
      name - the name of the attribute the value shall be assigned to
      operation - the operation to be applied (as string as this data may apply to multiple attributes)
      expression - the value expression
  • Method Details

    • getName

      public String getName()
      Returns the name of the attribute the value shall be assigned to.
      Returns:
      the name of the attribute
    • getExpression

      public ConstraintSyntaxTree getExpression()
      Returns the expression representing the actual value of the assignment.
      Returns:
      the value expression
    • getOperation

      public String 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