|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.sys.funclib.losb.util.cmdinterface.Command
de.bsvrz.ars.ars.mgmt.commands.DataIdentInfo
public class DataIdentInfo
Kommando zum Ausgeben von Informationen einer bestimmten Datenidentifikation aus dem
DataIdentTree
Constructor Summary | |
---|---|
DataIdentInfo(ArchiveManager am)
simple constructor |
Method Summary | |
---|---|
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(java.lang.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 |
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 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 |
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 Detail |
---|
public DataIdentInfo(ArchiveManager am)
Method Detail |
---|
public void execute() throws java.lang.Exception
Command
execute
in class Command
java.lang.Exception
- meist bei Server-Timeout (wird im CmdInterpreter
abgefangen)Command.execute()
public void resetInput()
public void getDirectNavigation(java.lang.String input) throws java.lang.Exception
input
-
java.lang.Exception
public int getObject(SystemObject[] objects) throws java.lang.Exception
objects
-
java.lang.Exception
public int getAtg(AttributeGroup[] atgs) throws java.lang.Exception
atgs
-
java.lang.Exception
public int getAsp(Aspect[] asps) throws java.lang.Exception
asps
- mögliche Aspekte
java.lang.Exception
public int getSimVar(int[] simVars) throws java.lang.Exception
simVars
-
java.lang.Exception
public void printInfo(long objId, long atgId, long aspId, int simVar, java.util.Vector<java.lang.String[]> info) throws java.lang.Exception
objId
- atgId
- aspId
- simVar
-
java.lang.Exception
public SystemObject[] sortArray(SystemObject[] in) throws java.lang.Exception
in
-
java.lang.Exception
public java.lang.String getUserInput() throws java.lang.Exception
java.lang.Exception
public void printBlank(int count) throws java.lang.Exception
count
- number of blank lines
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |