Class Constraint

java.lang.Object
gov.nasa.jpl.constraint.Constraint
All Implemented Interfaces:
PropertyChangeListener, EventListener
Direct Known Subclasses:
ActivityConstraint, ResourceConstraint

public abstract class Constraint extends Object implements PropertyChangeListener
  • Field Details

    • name

      protected String name
    • message

      protected String message
    • severity

      protected ViolationSeverity severity
    • listOfViolationBeginAndEndTimes

      protected List<Map.Entry<Time,Time>> listOfViolationBeginAndEndTimes
    • mostRecentTimeViolationBegan

      protected Time mostRecentTimeViolationBegan
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String assign)
    • getMessage

      public String getMessage()
    • getSeverity

      public ViolationSeverity getSeverity()
    • historyIterator

      public Iterator<Map.Entry<Time,Time>> historyIterator()
    • addViolation

      protected void addViolation(Time begin, Time end)
    • clearViolationHistory

      public abstract void clearViolationHistory()
    • finalizeConstraintAfterModeling

      public abstract void finalizeConstraintAfterModeling()