@MappedSuperclass public abstract class BaseFormRecordableOpenmrsData extends BaseChangeableOpenmrsData implements FormRecordable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
FORM_NAMESPACE_PATH_MAX_LENGTH |
protected static String |
FORM_NAMESPACE_PATH_SEPARATOR |
protected String |
formNamespaceAndPath |
creator| Constructor and Description |
|---|
BaseFormRecordableOpenmrsData() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormFieldNamespace()
Gets the namespace for the form field that was used to capture the obs details in the form
|
static String |
getFormFieldNamespace(String formNamespaceAndPath) |
String |
getFormFieldPath()
Gets the path for the form field that was used to capture the obs details in the form
|
static String |
getFormFieldPath(String formNamespaceAndPath) |
String |
getFormNamespaceAndPath() |
static String |
getFormNamespaceAndPath(String namespace,
String formFieldPath) |
void |
setFormField(String namespace,
String formFieldPath)
Sets the namespace and path of the form field that was used to capture the obs details in the
form.
|
void |
setFormNamespaceAndPath(String formNamespaceAndPath)
Setter method
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateVoided, getVoided, getVoidedBy, getVoidReason, isVoided, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateVoided, setVoided, setVoidedBy, setVoidReasonequals, getUuid, hashCode, setUuid, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getUuid, setId, setUuidprotected static final String FORM_NAMESPACE_PATH_SEPARATOR
protected static final int FORM_NAMESPACE_PATH_MAX_LENGTH
protected String formNamespaceAndPath
public String getFormFieldNamespace()
FormRecordablegetFormFieldNamespace in interface FormRecordableFormRecordable.getFormFieldNamespace()public String getFormFieldPath()
FormRecordablegetFormFieldPath in interface FormRecordableFormRecordable.getFormFieldPath()public void setFormField(String namespace, String formFieldPath)
FormRecordablesetFormField in interface FormRecordablenamespace - the namespace of the form fieldformFieldPath - the path of the form fieldFormRecordable.setFormField(String,String)public String getFormNamespaceAndPath()
public void setFormNamespaceAndPath(String formNamespaceAndPath)
formNamespaceAndPath - Copyright © 2024 OpenMRS Inc.. All rights reserved.