Package | Description |
---|---|
org.openmrs.attribute | |
org.openmrs.customdatatype | |
org.openmrs.customdatatype.datatype |
Modifier and Type | Method and Description |
---|---|
Object |
BaseAttribute.getValue() |
<T> void |
BaseAttribute.setValue(T typedValue) |
void |
BaseAttribute.setValueReferenceInternal(String valueReference) |
Modifier and Type | Method and Description |
---|---|
T |
SerializingCustomDatatype.fromReferenceString(String persistedValue) |
T |
CustomDatatype.fromReferenceString(String referenceString)
Converts a reference string to its typed value.
|
Object |
SingleCustomValue.getValue()
Convenience method to get the typed version of the serializedValue.
|
String |
SerializingCustomDatatype.save(T typedValue,
String existingValueReference) |
String |
CustomDatatype.save(T typedValue,
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(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 |
---|---|
String |
LongFreeTextDatatype.fromReferenceString(String referenceString) |
String |
LongFreeTextDatatype.save(String typedValue,
String existingValueReference) |
void |
RegexValidatedTextDatatype.validate(String typedValue) |
void |
LongFreeTextDatatype.validate(String typedValue) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.