|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.bonn.xulu.plugin.appl.DataScriptInterpreter_Basic.Command_Rename
protected class DataScriptInterpreter_Basic.Command_Rename
Dieser Befehl aendert den Namen eines Xulu-Objekts im Datenpool.
Constructor Summary | |
---|---|
DataScriptInterpreter_Basic.Command_Rename(String objectName,
String newObjectName)
Erzeugt einen neuen Befehl. |
Method Summary | |
---|---|
void |
check()
Prueft, ob alle Parameter korrekt gesetzt sind. |
void |
execute(XuluModellingPlatform appl)
Fuehrt den Befehl aus. |
String |
getDescription()
Liefert eine Beschreibung des Kommandos. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataScriptInterpreter_Basic.Command_Rename(String objectName, String newObjectName)
objectName
- Name des umzubenennenden ObjektsnewObjectName
- neuer NameMethod Detail |
---|
public String getDescription()
getDescription
in interface AbstractCommandInterpreter.Command
public void execute(XuluModellingPlatform appl) throws Exception
execute
in interface AbstractCommandInterpreter.Command
appl
- Applikation unter der der Befehl ausgefuehrt wird
XuluDataException
- falls es kein oder mehr als ein Objekt
mit dem Namen im Datenpool gibt
Exception
- wenn ein Fehler bei der Ausfuehrung aufrittpublic void check()
check
in interface AbstractCommandInterpreter.Command
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |