@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, setVoidReason
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getUuid, setId, setUuid
protected static final String FORM_NAMESPACE_PATH_SEPARATOR
protected static final int FORM_NAMESPACE_PATH_MAX_LENGTH
protected String formNamespaceAndPath
public String getFormFieldNamespace()
FormRecordable
getFormFieldNamespace
in interface FormRecordable
FormRecordable.getFormFieldNamespace()
public String getFormFieldPath()
FormRecordable
getFormFieldPath
in interface FormRecordable
FormRecordable.getFormFieldPath()
public void setFormField(String namespace, String formFieldPath)
FormRecordable
setFormField
in interface FormRecordable
namespace
- 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.