Class AssignAttributes

    • Constructor Detail

      • AssignAttributes

        public AssignAttributes​(ModelElement parent)
      • AssignAttributes

        public AssignAttributes​(ModelElement parent,
                                java.lang.String name)
    • Method Detail

      • receive

        protected void receive​(Entity entity)
        Description copied from class: EntityReceiver
        Represents logic to correctly receive the entity and process it accordingly
        Specified by:
        receive in class EntityReceiver
      • 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