public class DataIdentInfo extends Command
DataIdentTree
Constructor and Description |
---|
DataIdentInfo(ArchiveManager am)
simple constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Methode muss von einer implementierenden Klasse gefüllt werden
|
int |
getAsp(Aspect[] asps)
Aspekt für das zuvor gewählte Objekt und Attributgruppe wählen
|
int |
getAtg(AttributeGroup[] atgs)
Attributgruppe aus allen möglichen für das zuvor ausgewählte Objekt wählen
|
void |
getDirectNavigation(String input)
Direktnavigation mit kommaseparierten Werten
|
int |
getObject(SystemObject[] objects)
Objekt aus allen möglichen des DataIdentTree auswählen
|
int |
getSimVar(int[] simVars)
Simulationsvariante für die ansonsten spezifizierte Datenidentifikation wählen
|
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,
Vector<String[]> info)
gibt das ausgewaehlte Objekt auf StdOut aus
|
void |
resetInput()
Felder für Objekte, Attributgruppen, Aspekte, SimulationsVarianten zurücksetzen
|
SystemObject[] |
sortArray(SystemObject[] in)
Sortiert eine Array von Objekten nach der Pid mit Quicksort
|
public DataIdentInfo(ArchiveManager am)
public void execute() throws Exception
de.bsvrz.sys.funclib.losb.util.cmdinterface.Command
execute
in class Command
Exception
- meist bei Server-Timeout (wird im CmdInterpreter
abgefangen)Command.execute()
public void resetInput()
public void getDirectNavigation(String input) throws Exception
input
- Exception
public int getObject(SystemObject[] objects) throws Exception
objects
- Exception
public int getAtg(AttributeGroup[] atgs) throws Exception
atgs
- Exception
public int getAsp(Aspect[] asps) throws Exception
asps
- mögliche AspekteException
public int getSimVar(int[] simVars) throws Exception
simVars
- Exception
public void printInfo(long objId, long atgId, long aspId, int simVar, Vector<String[]> info) throws Exception
objId
- atgId
- aspId
- simVar
- Exception
public SystemObject[] sortArray(SystemObject[] in) throws Exception
in
- Exception
public String getUserInput() throws Exception
Exception