Class DataIdentInfo

java.lang.Object
de.bsvrz.sys.funclib.losb.util.cmdinterface.Command
de.bsvrz.ars.ars.mgmt.commands.DataIdentInfo

public final class DataIdentInfo
extends de.bsvrz.sys.funclib.losb.util.cmdinterface.Command
Kommando zum Ausgeben von Informationen einer bestimmten Datenidentifikation aus dem DataIdentTree
  • Constructor Summary

    Constructors
    Constructor Description
    DataIdentInfo​(ArchiveManager am)
    simple constructor
  • Method Summary

    Modifier and Type Method Description
    void execute()  
    int getAsp​(java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> asps)
    Aspekt für das zuvor gewählte Objekt und Attributgruppe wählen
    int getAtg​(java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> atgs)
    Attributgruppe aus allen möglichen für das zuvor ausgewählte Objekt wählen
    void getDirectNavigation​(java.lang.String input)
    Direktnavigation mit kommaseparierten Werten
    int getObject​(java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> objects)
    Objekt aus allen möglichen des DataIdentTree auswählen
    int getSelectedSimVar()
    Simulationsvariante für die ansonsten spezifizierte Datenidentifikation wählen
    java.lang.String getUserInput()
    liest die benutzereingabe oder setzt das Flag zum Abbrechen, falls "e" eingegeben wird
    void printBlank​(int count)
    prints blank lines
    void printInfo​(long objId, long atgId, long aspId, int simVar, java.util.Vector<java.lang.String[]> info)
    gibt das ausgewählte Objekt auf StdOut aus
    void resetInput()
    Felder für Objekte, Attributgruppen, Aspekte, SimulationsVarianten zurücksetzen

    Methods inherited from class de.bsvrz.sys.funclib.losb.util.cmdinterface.Command

    getDesc, getHelp, getIndex, getParent, println, printlnPlain, readln, setDesc, setHelp, setIndex, setParent, setStreams, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataIdentInfo

      public DataIdentInfo​(ArchiveManager am)
      simple constructor
  • Method Details

    • execute

      public void execute() throws java.lang.Exception
      Specified by:
      execute in class de.bsvrz.sys.funclib.losb.util.cmdinterface.Command
      Throws:
      java.lang.Exception
    • resetInput

      public void resetInput()
      Felder für Objekte, Attributgruppen, Aspekte, SimulationsVarianten zurücksetzen
    • getDirectNavigation

      public void getDirectNavigation​(@Nullable java.lang.String input)
      Direktnavigation mit kommaseparierten Werten
      Parameters:
      input -
    • getObject

      public int getObject​(java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> objects) throws java.lang.Exception
      Objekt aus allen möglichen des DataIdentTree auswählen
      Parameters:
      objects -
      Returns:
      die Id des Objekts, -1 bei Abbruch durch User
      Throws:
      java.lang.Exception
    • getAtg

      public int getAtg​(java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> atgs) throws java.lang.Exception
      Attributgruppe aus allen möglichen für das zuvor ausgewählte Objekt wählen
      Parameters:
      atgs -
      Returns:
      die Id der Attributgruppe, -1 bei Abbruch durch User
      Throws:
      java.lang.Exception
    • getAsp

      public int getAsp​(java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> asps) throws java.lang.Exception
      Aspekt für das zuvor gewählte Objekt und Attributgruppe wählen
      Parameters:
      asps - mögliche Aspekte
      Returns:
      die Id des gewählten Aspekts
      Throws:
      java.lang.Exception
    • getSelectedSimVar

      public int getSelectedSimVar() throws java.lang.Exception
      Simulationsvariante für die ansonsten spezifizierte Datenidentifikation wählen
      Returns:
      die Simulationsvariante, -1 bei Abbruch durch User
      Throws:
      java.lang.Exception
    • printInfo

      public void printInfo​(long objId, long atgId, long aspId, int simVar, java.util.Vector<java.lang.String[]> info) throws java.lang.Exception
      gibt das ausgewählte Objekt auf StdOut aus
      Parameters:
      objId -
      atgId -
      aspId -
      simVar -
      Throws:
      java.lang.Exception
    • getUserInput

      public java.lang.String getUserInput() throws java.lang.Exception
      liest die benutzereingabe oder setzt das Flag zum Abbrechen, falls "e" eingegeben wird
      Returns:
      the inputString
      Throws:
      java.lang.Exception
    • printBlank

      public void printBlank​(int count) throws java.lang.Exception
      prints blank lines
      Parameters:
      count - number of blank lines
      Throws:
      java.lang.Exception