|
|||||||||
| 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
| Field Summary | |
|---|---|
private ArchiveManager |
archMgr
|
private int |
asp
|
private Aspect[] |
asps
|
private int |
atg
|
private AttributeGroup[] |
atgs
|
private int |
linesPerPage
|
private int |
maxPerLine
|
private DataModel |
model
|
private int |
obj
|
private SystemObject[] |
objects
|
private static String |
PAGER
|
private int |
simVar
|
private int[] |
simVars
|
private boolean |
stopCmd
|
private DataIdentTree |
tree
|
| Constructor Summary | |
|---|---|
DataIdentInfo(ArchiveManager am)
simple constructor |
|
| Method Summary | |
|---|---|
void |
execute()
|
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 |
| 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 |
| Field Detail |
|---|
private static String PAGER
private ArchiveManager archMgr
private DataIdentTree tree
private DataModel model
private boolean stopCmd
private final int linesPerPage
private final int maxPerLine
private SystemObject[] objects
private int obj
private AttributeGroup[] atgs
private int atg
private Aspect[] asps
private int asp
private int[] simVars
private int simVar
| Constructor Detail |
|---|
public DataIdentInfo(ArchiveManager am)
| Method Detail |
|---|
public void execute()
throws Exception
execute in class CommandExceptionCommand.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 Aspekte
Exception
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
public void printBlank(int count)
throws Exception
count - number of blank lines
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||