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 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 Boolean getJavaScriptEscape()
public void setJavaScriptEscape(Boolean javaScriptEscape)
javaScriptEscape
- the javaScriptEscape to setCopyright © 2018 OpenMRS LLC.. All Rights Reserved.