|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.BaseOpenmrsMetadata org.openmrs.Form
public class Form
Form
Field Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
Form()
default constructor |
|
Form(java.lang.Integer formId)
Constructor with id |
Method Summary | |
---|---|
void |
addFormField(FormField formField)
Adds a FormField to the list of form fields |
boolean |
equals(java.lang.Object obj)
Compares two objects for similarity |
java.lang.Integer |
getBuild()
|
EncounterType |
getEncounterType()
|
java.util.Set<FormField> |
getFormFields()
|
java.lang.Integer |
getFormId()
|
java.lang.Integer |
getId()
|
java.util.List<FormField> |
getOrderedFormFields()
|
java.lang.Boolean |
getPublished()
|
java.lang.String |
getRetiredReason()
Deprecated. use BaseOpenmrsMetadata.getRetireReason() |
java.lang.String |
getTemplate()
|
java.lang.String |
getVersion()
|
java.lang.String |
getXslt()
|
int |
hashCode()
|
void |
removeFormField(FormField formField)
Removes a FormField from the list of form fields |
void |
setBuild(java.lang.Integer build)
|
void |
setEncounterType(EncounterType encounterType)
|
void |
setFormFields(java.util.Set<FormField> formFields)
|
void |
setFormId(java.lang.Integer formId)
|
void |
setId(java.lang.Integer id)
|
void |
setPublished(java.lang.Boolean published)
|
void |
setRetiredReason(java.lang.String reason)
Deprecated. use BaseOpenmrsMetadata.setRetireReason(String) |
void |
setTemplate(java.lang.String template)
|
void |
setVersion(java.lang.String version)
|
void |
setXslt(java.lang.String xslt)
|
java.lang.String |
toString()
|
Methods inherited from class org.openmrs.BaseOpenmrsMetadata |
---|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason |
Methods inherited from class org.openmrs.BaseOpenmrsObject |
---|
getUuid, setUuid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openmrs.OpenmrsObject |
---|
getUuid, setUuid |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public Form()
public Form(java.lang.Integer formId)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.Integer getFormId()
public void setFormId(java.lang.Integer formId)
formId
- The formId to set.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- The version to set.public java.lang.Integer getBuild()
public void setBuild(java.lang.Integer build)
build
- The build number to setpublic java.lang.Boolean getPublished()
public void setPublished(java.lang.Boolean published)
published
- The published to set.public EncounterType getEncounterType()
public void setEncounterType(EncounterType encounterType)
encounterType
- type of encounter associated with this formpublic java.lang.String getTemplate()
public void setTemplate(java.lang.String template)
template
- The template to set.public java.lang.String getXslt()
public void setXslt(java.lang.String xslt)
public java.util.Set<FormField> getFormFields()
public java.util.List<FormField> getOrderedFormFields()
public void setFormFields(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public void setRetiredReason(java.lang.String reason)
BaseOpenmrsMetadata.setRetireReason(String)
public java.lang.String getRetiredReason()
BaseOpenmrsMetadata.getRetireReason()
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |