public class FormatTag
extends javax.servlet.jsp.tagext.TagSupport
Prints out a pretty-formatted versions of an OpenMRS object TODO: add the other openmrs domain objects TODO: add a size=compact|NORMAL|full|? option
Constructor and Description |
---|
FormatTag() |
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
protected void printConcept(StringBuilder sb, Concept concept)
sb
- concept
- public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public Object getObject()
public void setObject(Object object)
object
- the object to setpublic Integer getConceptId()
public void setConceptId(Integer conceptId)
public Concept getConcept()
public void setConcept(Concept concept)
public Obs getObsValue()
public void setObsValue(Obs obsValue)
public Integer getUserId()
public void setUserId(Integer userId)
public User getUser()
public void setUser(User user)
public Integer getEncounterId()
public void setEncounterId(Integer encounterId)
public Encounter getEncounter()
public void setEncounter(Encounter encounter)
public Integer getEncounterTypeId()
public void setEncounterTypeId(Integer encounterTypeId)
public EncounterType getEncounterType()
public void setEncounterType(EncounterType encounterType)
public Integer getLocationId()
public void setLocationId(Integer locationId)
public Location getLocation()
public void setLocation(Location location)
public Integer getLocationTagId()
public void setLocationTagId(Integer locationTagId)
public LocationTag getLocationTag()
public void setLocationTag(LocationTag locationTag)
public Integer getProgramId()
public void setProgramId(Integer programId)
public Program getProgram()
public void setProgram(Program program)
public String getVar()
public void setVar(String var)
public Integer getPersonId()
public void setPersonId(Integer personId)
public Person getPerson()
public void setPerson(Person person)
public Integer getVisitTypeId()
public void setVisitTypeId(Integer visitTypeId)
visitTypeId
- the visitTypeId to setpublic VisitType getVisitType()
public void setVisitType(VisitType visitType)
visitType
- the visitType to setpublic Integer getVisitId()
public void setVisitId(Integer visitId)
visitId
- the visitId to setpublic Visit getVisit()
public void setVisit(Visit visit)
visit
- the visit to setpublic Boolean getJavaScriptEscape()
public void setJavaScriptEscape(Boolean javaScriptEscape)
javaScriptEscape
- the javaScriptEscape to setpublic Map<EncounterRole,Set<Provider>> getEncounterProviders()
public void setEncounterProviders(Map<EncounterRole,Set<Provider>> encounterProviders)
encounterProviders
- the encounterProviders to setpublic String getWithConceptNameType()
public void setWithConceptNameType(String withConceptNameType)
withConceptNameType
- the withConceptNameType to setpublic String getWithConceptNameTag()
public void setWithConceptNameTag(String withConceptNameTag)
withConceptNameTag
- the withConceptNameTag to setpublic Form getForm()
public void setForm(Form form)
form
- the form to setpublic SingleCustomValue<?> getSingleCustomValue()
public void setSingleCustomValue(SingleCustomValue<?> singleCustomValue)
singleCustomValue
- the singleCustomValue to setpublic String getCaseConversion()
public void setCaseConversion(String caseConversion)
Copyright © 2015 OpenMRS Inc.. All rights reserved.