Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.impl | |
org.openmrs.customdatatype | |
org.openmrs.customdatatype.datatype |
Constructor and Description |
---|
GlobalProperty(String property,
String value,
String description,
Class<? extends CustomDatatype<?>> datatypeClass,
String datatypeConfig)
Constructor defining key/value/description/customDatatype/datatypeConfig
|
Modifier and Type | Method and Description |
---|---|
<T extends CustomDatatype<?>> |
DatatypeService.getDatatype(Class<T> clazz,
String config) |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends CustomDatatype<?>>> |
DatatypeService.getAllDatatypeClasses() |
Modifier and Type | Method and Description |
---|---|
CustomDatatypeHandler<?,?> |
DatatypeService.getHandler(CustomDatatype<?> datatype,
String handlerConfig)
Gets the default handler for a
CustomDatatype , and sets its configuration |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends CustomDatatypeHandler>> |
DatatypeService.getHandlerClasses(Class<? extends CustomDatatype<?>> datatypeClass) |
Modifier and Type | Method and Description |
---|---|
<T extends CustomDatatype<?>> |
DatatypeServiceImpl.getDatatype(Class<T> clazz,
String config) |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends CustomDatatype<?>>> |
DatatypeServiceImpl.getAllDatatypeClasses() |
Modifier and Type | Method and Description |
---|---|
CustomDatatypeHandler<?,?> |
DatatypeServiceImpl.getHandler(CustomDatatype<?> datatype,
String handlerConfig) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends CustomDatatypeHandler>> |
DatatypeServiceImpl.getHandlerClasses(Class<? extends CustomDatatype<?>> datatype) |
Modifier and Type | Interface and Description |
---|---|
interface |
CustomDatatypeHandler<DT extends CustomDatatype<T>,T>
Subclasses of this interface represent different ways of building UI widgets to handle
CustomDatatype s. |
Modifier and Type | Class and Description |
---|---|
class |
SerializingCustomDatatype<T> |
Modifier and Type | Method and Description |
---|---|
static CustomDatatype<?> |
CustomDatatypeUtil.getDatatype(CustomValueDescriptor descriptor) |
static CustomDatatype<?> |
CustomDatatypeUtil.getDatatype(String datatypeClassname,
String datatypeConfig) |
static CustomDatatype<?> |
CustomDatatypeUtil.getDatatypeOrDefault(CustomValueDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
String |
DownloadableDatatypeHandler.getContentType(CustomDatatype<T> dt,
String valueReference) |
String |
DownloadableDatatypeHandler.getFilename(CustomDatatype<T> dt,
String valueReference) |
static CustomDatatypeHandler |
CustomDatatypeUtil.getHandler(CustomDatatype<?> dt,
String preferredHandlerClassname,
String handlerConfig) |
static boolean |
CustomDatatypeUtil.isCompatibleHandler(CustomDatatypeHandler handler,
CustomDatatype<?> datatype) |
void |
DownloadableDatatypeHandler.writeToStream(CustomDatatype<T> dt,
String valueReference,
OutputStream os)
Writes the custom value to os.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseMetadataDatatype<T extends OpenmrsMetadata>
This is a superclass for custom datatypes for OpenmrsMetadata
|
class |
BaseOpenmrsDatatype<T extends OpenmrsObject>
This is a superclass for custom datatypes for OpenmrsObjects
|
class |
BooleanDatatype
Datatype for boolean, represented by java.lang.Boolean.
|
class |
ConceptDatatype
This is a class for custom datatypes for concepts
|
class |
DateDatatype
Datatype for a Date (without time), represented by a java.util.Date.
|
class |
FloatDatatype
Datatype for float, represented by java.lang.Float
|
class |
FreeTextDatatype
Free-text datatype, represented by a plain String.
|
class |
LocationDatatype
This is a class for custom datatypes for locations
|
class |
LongFreeTextDatatype
Free-text datatype, represented by a plain String in Java, but stored in the
database as a CLOB or similar.
|
class |
ProgramDatatype
This is a class for custom datatypes for programs
|
class |
ProviderDatatype
This is a class for custom datatypes for providers
|
class |
RegexValidatedTextDatatype
Datatype for a String that is validated against a regular expression
|
class |
SpecifiedTextOptionsDatatype |
Copyright © 2024 OpenMRS Inc.. All rights reserved.