예제 #1
0
  // declare transform functions
  public String Get_name() {
    Ooaofooa.log.println(
        ILogger.OPERATION, "Informal Argument", " Operation entered: InformalArgument::Get_name");
    final ModelRoot modelRoot = getModelRoot();
    MessageArgument_c v_arg = MessageArgument_c.getOneMSG_AOnR1013(this);

    return v_arg.getLabel();
  } // End get_name
예제 #2
0
  public boolean delete() {
    boolean result = super.delete();
    boolean delete_error = false;
    String errorMsg =
        "The following relationships were not torn down by the Informal Argument.dispose call: ";
    MessageArgument_c testR1013Inst5 = MessageArgument_c.getOneMSG_AOnR1013(this, false);

    if (testR1013Inst5 != null) {
      delete_error = true;
      errorMsg = errorMsg + "1013 ";
    }
    if (delete_error == true) {

      if (CorePlugin.getDefault().isDebugging()) {
        Ooaofooa.log.println(ILogger.DELETE, "Informal Argument", errorMsg);
      } else {
        Exception e = new Exception();
        e.fillInStackTrace();
        CorePlugin.logError(errorMsg, e);
      }
    }
    return result;
  }