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.Commandexecute in class CommandException - meist bei Server-Timeout (wird im CmdInterpreter abgefangen)Command.execute()public void resetInput()
public void getDirectNavigation(String input) throws Exception
input - Exceptionpublic int getObject(SystemObject[] objects) throws Exception
objects - Exceptionpublic int getAtg(AttributeGroup[] atgs) throws Exception
atgs - Exceptionpublic int getAsp(Aspect[] asps) throws Exception
asps - mögliche AspekteExceptionpublic int getSimVar(int[] simVars)
throws Exception
simVars - Exceptionpublic void printInfo(long objId,
long atgId,
long aspId,
int simVar,
Vector<String[]> info)
throws Exception
objId - atgId - aspId - simVar - Exceptionpublic SystemObject[] sortArray(SystemObject[] in) throws Exception
in - Exceptionpublic String getUserInput() throws Exception
Exception