Examples of toJSONRecord()


Examples of uk.ac.osswatch.simal.model.IDoapCategory.toJSONRecord()

    StringBuffer json = new StringBuffer("{ \"items\": [");
    Iterator<IDoapCategory> categories = getAll().iterator();
    IDoapCategory category;
    while (categories.hasNext()) {
      category = categories.next();
      json.append(category.toJSONRecord());
      if (categories.hasNext()) {
        json.append(",");
      }
    }
    json.append("]}");
View Full Code Here

Examples of uk.ac.osswatch.simal.model.IPerson.toJSONRecord()

      Set<IPerson> setOfPeople = getAll();
      Iterator<IPerson> people = setOfPeople.iterator();
      IPerson person;
      while (people.hasNext()) {
        person = people.next();
        json.append(person.toJSONRecord());
        if (people.hasNext()) {
          json.append(",");
        }
      }
      json.append("]}");
View Full Code Here

Examples of uk.ac.osswatch.simal.model.IProject.toJSONRecord()

    StringBuffer json = new StringBuffer("{ \"items\": [");
    Iterator<IProject> projects = getAllProjects().iterator();
    IProject project;
    while (projects.hasNext()) {
      project = projects.next();
      json.append(project.toJSONRecord());
      if (projects.hasNext()) {
        json.append(",");
      }
    }
    json.append("]}");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.