/**
   * Function to build vocabData body type
   *
   * @param
   * @return BodyType object
   */
  public BodyType getBodyType(GetReturnType returnType) {
    edu.harvard.i2b2.wkplclient.datavo.wdo.ObjectFactory of =
        new edu.harvard.i2b2.wkplclient.datavo.wdo.ObjectFactory();

    BodyType bodyType = new BodyType();
    bodyType.getAny().add(of.createGetFoldersByProject(returnType));
    return bodyType;
  }
Example #2
0
  /**
   * Function to build vocabRequestType body type
   *
   * @param
   * @return BodyType object
   */
  public BodyType getBodyType(FindByChildType vocabType) {
    edu.harvard.i2b2.wkplclient.datavo.wdo.ObjectFactory of =
        new edu.harvard.i2b2.wkplclient.datavo.wdo.ObjectFactory();

    BodyType bodyType = new BodyType();
    bodyType.getAny().add(of.createGetNameInfo(vocabType));
    return bodyType;
  }