Class Prerequisite

java.lang.Object
org.qubership.atp.mia.model.impl.executable.GeneralModel
org.qubership.atp.mia.model.impl.executable.Prerequisite
All Implemented Interfaces:
Serializable

public class Prerequisite extends GeneralModel
Class for prerequisite in Process.
See Also:
  • Constructor Details

    • Prerequisite

      public Prerequisite()
      Creates Prerequisite instance without parameters.
    • Prerequisite

      public Prerequisite(@Nonnull String type, @Nonnull String system, @Nonnull LinkedHashSet<String> values)
      Creates Prerequisite instance with parameters.
      Parameters:
      type - type
      system - system
      values - values
    • Prerequisite

      public Prerequisite(@Nonnull String type, @Nonnull String system, @Nonnull String value)
      Creates Prerequisite instance with parameters.
      Parameters:
      type - type
      system - system
      value - value
    • Prerequisite

      public Prerequisite(@Nullable List<String> referToInputName, @Nullable List<String> referToCommandValue)
      Creates Prerequisite instance with parameters.
      Parameters:
      referToInputName - referToInputName
      referToCommandValue - referToCommandValue
    • Prerequisite

      public Prerequisite(String name, String type, String system, LinkedHashSet<String> values, @Nullable List<String> referToInputName, @Nullable List<String> referToCommandValue)
      Creates Prerequisite instance with parameters.
      Parameters:
      name - name
      type - type
      system - system
      values - values
      referToInputName - referToInputName
      referToCommandValue - referToCommandValue
    • Prerequisite

      public Prerequisite(String name, String type, String system, String value, @Nullable List<String> referToInputName, @Nullable List<String> referToCommandValue)
      Creates Prerequisite instance with parameters.
      Parameters:
      name - name
      type - type
      system - system
      value - value
      referToInputName - referToInputName
      referToCommandValue - referToCommandValue
  • Method Details

    • clone

      public Prerequisite clone()
      Clone object.
      Overrides:
      clone in class Object
      Returns:
      Prerequisite instance
    • getReferToInputName

      @Nullable public List<String> getReferToInputName()
      Gets referToInputName.
      Returns:
      referToInputName
    • setReferToInputName

      public Prerequisite setReferToInputName(@Nullable List<String> referToInputName)
      Sets referToInputName.
      Parameters:
      referToInputName - referToInputName
      Returns:
      Prerequisite instance
    • getReferToCommandValue

      @Nullable public List<String> getReferToCommandValue()
    • setReferToCommandValue

      public void setReferToCommandValue(@Nullable List<String> referToCommandValue)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class GeneralModel