Class Assignments


  • public class Assignments
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Assignments()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAssignment​(java.lang.String attributeName, GetValueIfc rightSide)
      Adds an attribute assignment to the assign command Note: The attribute name should have been added to the entity
      void addAssignment​(SetValueIfc leftSide, GetValueIfc rightSide)
      Adds an assignment to the assign command
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Assignments

        public Assignments()
    • Method Detail

      • addAssignment

        public void addAssignment​(SetValueIfc leftSide,
                                  GetValueIfc rightSide)
        Adds an assignment to the assign command
        Parameters:
        leftSide - , the thing being assigned to
        rightSide - the thing being used to determine the assigned value
      • addAssignment

        public void addAssignment​(java.lang.String attributeName,
                                  GetValueIfc rightSide)
        Adds an attribute assignment to the assign command Note: The attribute name should have been added to the entity
        Parameters:
        attributeName - the name of the attribute to be assigned
        rightSide - the thing being used to determine the assigned value