Package hec.rss.model

Interface ElementOp

All Known Implementing Classes:
DiversionOp, ReservoirOp

public interface ElementOp
interface for ReservoirOp and DiversionOp so they can be accessed through and interface instead of class type
  • Method Details

    • getController

      OpController getController()
      Returns:
    • getOperationsElement

      OperationsElement getOperationsElement()
      Returns:
    • getUnitSystem

      int getUnitSystem()
      Returns:
    • getControllers

      Vector<OpController> getControllers()
    • getGmtOffset

      int getGmtOffset()
    • getOperationSets

      Vector<OpSet> getOperationSets()
      Returns:
    • getOperationSet

      OpSet getOperationSet(int opsetId)
      Parameters:
      opsetId -
      Returns:
    • getOperationSet

      OpSet getOperationSet(String string)
      Parameters:
      string -
      Returns:
    • getController

      OpController getController(int controllerIndex)
      Parameters:
      controllerIndex -
      Returns:
    • newController

      OpController newController()
      Returns:
    • getControllerRuleNameByID

      String getControllerRuleNameByID(int ruleid)
      Parameters:
      ruleid -
      Returns:
    • getControllerConstraintNameByID

      String getControllerConstraintNameByID(int constraintid)
      Parameters:
      constraintid -
      Returns:
    • getController

      OpController getController(Element re)
      Parameters:
      re -
      Returns:
    • deleteControllerReferences

      void deleteControllerReferences(int index)
      Parameters:
      index -
    • printErrorMessage

      void printErrorMessage(String message)
      Parameters:
      string -
    • printMessage

      void printMessage(String msg)
      Parameters:
      string -
    • determinePhysicalLimits

      void determinePhysicalLimits(OpController opController, RunTimeStep rts)
      Parameters:
      opController -
      rts -
    • getOpSetTable

      Hashtable<intContainer,OpSet> getOpSetTable()
      Returns:
    • isRuleActive

      boolean isRuleActive(OpRule opRule, RunTimeStep rts)
      Parameters:
      opRule -
      rts -
      Returns:
    • getRules

      Vector<OpRule> getRules()
      Returns:
    • getActiveOpSet

      OpSet getActiveOpSet()
      Returns:
    • deleteOpRule

      void deleteOpRule(OpRule rule)
      Parameters:
      rule -
    • getConditionalBlock

      ConditionalBlock getConditionalBlock(int m_conditionalBlockId)
      Parameters:
      m_conditionalBlockId -
      Returns: