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