Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.attribute | |
org.openmrs.customdatatype | |
org.openmrs.validator | |
org.openmrs.web.attribute |
Modifier and Type | Class and Description |
---|---|
class |
LocationAttributeType
A user-defined extension to the
Location class. |
class |
ProviderAttributeType
A user-defined extension to the
Provider class. |
class |
VisitAttributeType
A user-defined extension to the
Visit class. |
Modifier and Type | Class and Description |
---|---|
class |
AttributeMatcherPredicate<T extends Customizable,AT extends AttributeType>
Used in conjunction with commons-collections filter to find attributes with values in the given map.
|
Modifier and Type | Method and Description |
---|---|
static <AT extends AttributeType> |
HibernateUtil.addAttributeCriteria(org.hibernate.Criteria criteria,
java.util.Map<AT,java.lang.String> serializedAttributeValues)
Adds attribute value criteria to the given criteria query
|
Modifier and Type | Interface and Description |
---|---|
interface |
Attribute<AT extends AttributeType,OT extends Customizable<?>>
Common interface for user-defined attribute that is are added to a base class.
|
class |
BaseAttribute<AT extends AttributeType,OwningType extends Customizable<?>>
Abstract base implementation of
Attribute . |
Modifier and Type | Class and Description |
---|---|
class |
BaseAttributeType<OwningType extends Customizable<?>>
Abstract base implementation of
AttributeType . |
Modifier and Type | Method and Description |
---|---|
static <T extends AttributeType<?>,U> |
CustomDatatypeUtil.getValueReferences(java.util.Map<T,U> datatypeValues)
Uses the appropriate datatypes to convert all values in the input map to their valueReference equivalents.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseAttributeTypeValidator<T extends AttributeType<?>>
Abstract class which handles basic validation common to all attribute types
|
Modifier and Type | Method and Description |
---|---|
<T extends AttributeType,A extends Attribute> |
BaseCustomizableValidator.validateAttributes(Customizable<A> customizable,
org.springframework.validation.Errors errors,
java.util.Collection<T> attributeTypes)
Validate the attributes of the given Customizable, given the list of relevant attribute types
|
Modifier and Type | Method and Description |
---|---|
static <AttributeClass extends BaseAttribute,CustomizableClass extends Customizable<AttributeClass>,AttributeTypeClass extends AttributeType<CustomizableClass>> |
WebAttributeUtil.handleSubmittedAttributesForType(CustomizableClass owner,
org.springframework.validation.BindingResult errors,
java.lang.Class<AttributeClass> attributeClass,
javax.servlet.http.HttpServletRequest request,
java.util.List<AttributeTypeClass> attributeTypes)
Handles attributes submitted on a form that uses the "attributesForType" tag
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.