Пример #1
0
 public void setNoOfDec(int aNoOfDec) {
   Command command =
       new SetCommand(
           Manager.getSingleton().getTransaction(),
           this,
           "noOfDec",
           new Integer(noOfDec),
           new Integer(aNoOfDec));
   command.execute();
 }
Пример #2
0
 public void setLength(int aLength) {
   Command command =
       new SetCommand(
           Manager.getSingleton().getTransaction(),
           this,
           "length",
           new Integer(length),
           new Integer(aLength));
   command.execute();
 }
Пример #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();
 }
Пример #4
0
 public void remove(ItemModel anItemModel) {
   Command command =
       new RemoveCommand(
           Manager.getSingleton().getTransaction(),
           this,
           anItemModel,
           items,
           "items",
           "typeModel");
   command.execute();
 }
Пример #5
0
 public void setDbmsType(String aBaseType) {
   Command command =
       new SetCommand(
           Manager.getSingleton().getTransaction(), this, "dbmsType", dbmsType, aBaseType);
   command.execute();
 }
Пример #6
0
 public void moveItemDown(int ix) {
   Command command =
       new DownCommand(Manager.getSingleton().getTransaction(), this, items, "items", ix);
   command.execute();
 }