예제 #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();
 }