Class ProcessModelState.ModelDiff

java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessModelState.ModelDiff
All Implemented Interfaces:
Serializable
Enclosing class:
ProcessModelState

public static class ProcessModelState.ModelDiff extends Object implements Serializable
Represents the difference between two ProcessModelState instances.
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

  • Constructor Details

    • ModelDiff

      public ModelDiff()
  • Method Details

    • getAddedEquipment

      public List<String> getAddedEquipment()
      Gets the list of added equipment or process names.
      Returns:
      list of added names
    • getRemovedEquipment

      public List<String> getRemovedEquipment()
      Gets the list of removed equipment or process names.
      Returns:
      list of removed names
    • getModifiedParameters

      public Map<String,String> getModifiedParameters()
      Gets modified parameters with change descriptions.
      Returns:
      map of parameter name to change description
    • hasChanges

      public boolean hasChanges()
      Checks if there are any differences.
      Returns:
      true if there are changes
    • toString

      public String toString()
      Overrides:
      toString in class Object