Пример #1
0
  private static ModelType doCreate() {
    ModelType model = F_CWM.createModelType();
    model.setOid(0);

    long maxUsedOid = ModelUtils.getMaxUsedOid(model);
    ModelOidUtil.register(model, maxUsedOid, null);

    return model;
  }
 public StructAccessPointBuilder(IAccessPointOwner anOwner) {
   super(F_CWM.createAccessPointType());
   this.owner = anOwner;
   forModel(ModelUtils.findContainingModel(anOwner));
 }
 public StructAccessPointBuilder() {
   super(F_CWM.createAccessPointType());
 }