All Implemented Interfaces:
Model

public class SetModel extends AbstractActionModel
Model support for set actions.

Sets an attribute value in a scope.

Author:
Scott Andrews
  • Constructor Details

    • SetModel

      public SetModel(String name, String value)
      Create a set action model
      Parameters:
      name - the name of the property to set
      value - the value to set
  • Method Details

    • createCopy

      public Model createCopy()
      Description copied from interface: Model
      Create a deep copy of this model. Needed when merging models and collections.
      Returns:
      a deep copy of this model
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getValue

      public String getValue()
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
    • getType

      public String getType()
      Returns:
      the type
    • setType

      public void setType(String type)
      Parameters:
      type - the type to set