public class Form extends BaseOpenmrsMetadata implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Form()
default constructor
|
Form(Integer formId)
Constructor with id
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
getUuid, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public Form()
public Form(Integer formId)
public boolean equals(Object obj)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public Integer getFormId()
public void setFormId(Integer formId)
formId
- The formId to set.public String getVersion()
public void setVersion(String version)
version
- The version to set.public Integer getBuild()
public void setBuild(Integer build)
build
- The build number to setpublic Boolean getPublished()
public void setPublished(Boolean published)
published
- The published to set.public EncounterType getEncounterType()
public void setEncounterType(EncounterType encounterType)
encounterType
- type of encounter associated with this formpublic String getTemplate()
public void setTemplate(String template)
template
- The template to set.public String getXslt()
public void setXslt(String xslt)
public void setFormFields(Set<FormField> formFields)
formFields
- The formFields to set.public void addFormField(FormField formField)
formField
- FormField to be addedpublic void removeFormField(FormField formField)
formField
- FormField to be removedpublic Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public void setRetiredReason(String reason)
BaseOpenmrsMetadata.setRetireReason(String)
public String getRetiredReason()
BaseOpenmrsMetadata.getRetireReason()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.