Exemplo 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();
 }
Exemplo 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();
 }
Exemplo 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();
 }
Exemplo n.º 4
0
 public void remove(ItemModel anItemModel) {
   Command command =
       new RemoveCommand(
           Manager.getSingleton().getTransaction(),
           this,
           anItemModel,
           items,
           "items",
           "typeModel");
   command.execute();
 }
Exemplo n.º 5
0
 public void setDbmsType(String aBaseType) {
   Command command =
       new SetCommand(
           Manager.getSingleton().getTransaction(), this, "dbmsType", dbmsType, aBaseType);
   command.execute();
 }
Exemplo n.º 6
0
 public void moveItemDown(int ix) {
   Command command =
       new DownCommand(Manager.getSingleton().getTransaction(), this, items, "items", ix);
   command.execute();
 }