Package org.openmrs.module.webservices.rest.web.resource.impl

Examples of org.openmrs.module.webservices.rest.web.resource.impl.DelegatingResourceDescription.addProperty()


      DelegatingResourceDescription description = new DelegatingResourceDescription();
      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient", Representation.REF);
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent", Representation.REF);
View Full Code Here


      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient", Representation.REF);
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent", Representation.REF);
      description.addProperty("providerRecipient", Representation.REF);
View Full Code Here

      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient", Representation.REF);
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent", Representation.REF);
      description.addProperty("providerRecipient", Representation.REF);
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
View Full Code Here

      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient", Representation.REF);
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent", Representation.REF);
      description.addProperty("providerRecipient", Representation.REF);
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
View Full Code Here

      description.addProperty("description");
      description.addProperty("patient", Representation.REF);
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent", Representation.REF);
      description.addProperty("providerRecipient", Representation.REF);
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
      description.addSelfLink();
View Full Code Here

      description.addProperty("patient", Representation.REF);
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent", Representation.REF);
      description.addProperty("providerRecipient", Representation.REF);
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
      description.addSelfLink();
      description.addLink("full", ".?v=" + RestConstants.REPRESENTATION_FULL);
View Full Code Here

      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent", Representation.REF);
      description.addProperty("providerRecipient", Representation.REF);
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
      description.addSelfLink();
      description.addLink("full", ".?v=" + RestConstants.REPRESENTATION_FULL);
      return description;
View Full Code Here

      description.addSelfLink();
      description.addLink("full", ".?v=" + RestConstants.REPRESENTATION_FULL);
      return description;
    } else if (rep instanceof FullRepresentation) {
      DelegatingResourceDescription description = new DelegatingResourceDescription();
      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
View Full Code Here

      description.addLink("full", ".?v=" + RestConstants.REPRESENTATION_FULL);
      return description;
    } else if (rep instanceof FullRepresentation) {
      DelegatingResourceDescription description = new DelegatingResourceDescription();
      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
View Full Code Here

      return description;
    } else if (rep instanceof FullRepresentation) {
      DelegatingResourceDescription description = new DelegatingResourceDescription();
      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
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.