Beispiel #1
0
 public void setNoOfDec(int aNoOfDec) {
   Command command =
       new SetCommand(
           Manager.getSingleton().getTransaction(),
           this,
           "noOfDec",
           new Integer(noOfDec),
           new Integer(aNoOfDec));
   command.execute();
 }
Beispiel #2
0
 public void setLength(int aLength) {
   Command command =
       new SetCommand(
           Manager.getSingleton().getTransaction(),
           this,
           "length",
           new Integer(length),
           new Integer(aLength));
   command.execute();
 }
Beispiel #3
0
 public void detach(AppModel anAppModel) {
   Command command =
       new DetachCommand(
           Manager.getSingleton().getTransaction(),
           anAppModel,
           this,
           (anAppModel == null) ? null : anAppModel.getTypes(),
           "types",
           "appModel");
   command.execute();
 }
Beispiel #4
0
 public void remove(ItemModel anItemModel) {
   Command command =
       new RemoveCommand(
           Manager.getSingleton().getTransaction(),
           this,
           anItemModel,
           items,
           "items",
           "typeModel");
   command.execute();
 }
Beispiel #5
0
 public void setDbmsType(String aBaseType) {
   Command command =
       new SetCommand(
           Manager.getSingleton().getTransaction(), this, "dbmsType", dbmsType, aBaseType);
   command.execute();
 }
Beispiel #6
0
 public void moveItemDown(int ix) {
   Command command =
       new DownCommand(Manager.getSingleton().getTransaction(), this, items, "items", ix);
   command.execute();
 }