Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.attribute | |
org.openmrs.customdatatype | |
org.openmrs.customdatatype.datatype | |
org.openmrs.web.attribute.handler |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
GlobalProperty.getValue() |
java.lang.Object |
FormResource.getValue() |
<T> void |
GlobalProperty.setValue(T typedValue) |
<T> void |
FormResource.setValue(T typedValue) |
void |
GlobalProperty.setValueReferenceInternal(java.lang.String valueToPersist) |
void |
FormResource.setValueReferenceInternal(java.lang.String valueToPersist) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BaseAttribute.getValue() |
<T> void |
BaseAttribute.setValue(T typedValue) |
void |
BaseAttribute.setValueReferenceInternal(java.lang.String valueReference) |
Modifier and Type | Method and Description |
---|---|
T |
SerializingCustomDatatype.fromReferenceString(java.lang.String persistedValue) |
T |
CustomDatatype.fromReferenceString(java.lang.String referenceString)
Converts a reference string to its typed value.
|
java.lang.Object |
SingleCustomValue.getValue()
Convenience method to get the typed version of the serializedValue.
|
java.lang.String |
SerializingCustomDatatype.save(T typedValue,
java.lang.String existingValueReference) |
java.lang.String |
CustomDatatype.save(T typedValue,
java.lang.String existingValueReference)
The OpenMRS service layer calls this method when a custom value of this datatype is saved (created or edited).
|
<T> void |
SingleCustomValue.setValue(T typedValue)
Sets the typed value.
|
void |
SingleCustomValue.setValueReferenceInternal(java.lang.String valueToPersist)
Directly set the String value that OpenMRS should persist in the database
in a varchar column.
|
void |
SerializingCustomDatatype.validate(T typedValue)
Passes for all non-null values in the default implementation
|
void |
CustomDatatype.validate(T typedValue)
Validates the given value to see if it is a legal value for the given handler.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
LongFreeTextDatatype.fromReferenceString(java.lang.String referenceString) |
java.lang.String |
LongFreeTextDatatype.save(java.lang.String typedValue,
java.lang.String existingValueReference) |
void |
RegexValidatedTextDatatype.validate(java.lang.String typedValue) |
void |
LongFreeTextDatatype.validate(java.lang.String typedValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
BooleanFieldGenDatatypeHandler.getValue(BooleanDatatype datatype,
javax.servlet.http.HttpServletRequest request,
java.lang.String formFieldName) |
java.util.Date |
DateFieldGenDatatypeHandler.getValue(DateDatatype datatype,
javax.servlet.http.HttpServletRequest request,
java.lang.String formFieldName) |
T |
FieldGenDatatypeHandler.getValue(DT datatype,
javax.servlet.http.HttpServletRequest request,
java.lang.String formFieldName)
Fetches an attribute value from a web request, for a given form field name
|
T |
WebDatatypeHandler.getValue(DT datatype,
javax.servlet.http.HttpServletRequest request,
java.lang.String formFieldName)
Handles a form submission including a widget generated by this handler
|
java.lang.String |
LongFreeTextTextareaHandler.getValue(LongFreeTextDatatype datatype,
javax.servlet.http.HttpServletRequest request,
java.lang.String formFieldName) |
java.lang.String |
LongFreeTextFileUploadHandler.getValue(LongFreeTextDatatype datatype,
javax.servlet.http.HttpServletRequest request,
java.lang.String formFieldName) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.