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.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl | |
org.openmrs.propertyeditor |
Modifier and Type | Method and Description |
---|---|
PersonAttribute |
PersonAttribute.copy()
Shallow copy of this PersonAttribute.
|
protected PersonAttribute |
PersonAttribute.copyHelper(PersonAttribute target)
The purpose of this method is to allow subclasses of PersonAttribute to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
PersonAttribute |
Person.getAttribute(Integer attributeTypeId)
Convenience method to get this person's first attribute that has a PersonAttributeTypeId
equal to
attributeTypeId . |
PersonAttribute |
Person.getAttribute(PersonAttributeType pat)
Convenience Method to return the first non-voided person attribute matching a person
attribute type.
|
PersonAttribute |
Person.getAttribute(String attributeName)
Convenience method to get this person's first attribute that has a PersonAttributeType.name
equal to
attributeName . |
Modifier and Type | Method and Description |
---|---|
List<PersonAttribute> |
Person.getActiveAttributes()
Returns only the non-voided attributes for this person
|
Map<String,PersonAttribute> |
Person.getAllAttributeMap()
Convenience method to get all of this person's attributes (including voided ones) in map
form: <String, PersonAttribute>.
|
Map<String,PersonAttribute> |
Person.getAttributeMap()
Convenience method to get this person's active attributes in map form: <String,
PersonAttribute>.
|
Set<PersonAttribute> |
Person.getAttributes() |
List<PersonAttribute> |
Person.getAttributes(Integer attributeTypeId)
Convenience method to get all of this person's attributes that have a PersonAttributeType.id
equal to
attributeTypeId . |
List<PersonAttribute> |
Person.getAttributes(PersonAttributeType personAttributeType)
Convenience method to get all of this person's attributes that have a PersonAttributeType
equal to
personAttributeType . |
List<PersonAttribute> |
Person.getAttributes(String attributeName)
Convenience method to get all of this person's attributes that have a
PersonAttributeType.name equal to
attributeName . |
Modifier and Type | Method and Description |
---|---|
void |
Person.addAttribute(PersonAttribute newAttribute)
Convenience method to add the
attribute to this person's attribute list if the
attribute doesn't exist already. |
int |
PersonAttribute.DefaultComparator.compare(PersonAttribute pa1,
PersonAttribute pa2) |
int |
PersonAttribute.compareTo(PersonAttribute other) |
protected PersonAttribute |
PersonAttribute.copyHelper(PersonAttribute target)
The purpose of this method is to allow subclasses of PersonAttribute to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
boolean |
PersonAttribute.equalsContent(PersonAttribute otherAttribute)
Compares this PersonAttribute object to the given otherAttribute.
|
void |
Person.removeAttribute(PersonAttribute attribute)
Convenience method to get the
attribute from this person's attribute list if the
attribute exists already. |
Modifier and Type | Method and Description |
---|---|
void |
Person.setAttributes(Set<PersonAttribute> attributes) |
Modifier and Type | Method and Description |
---|---|
PersonAttribute |
PersonService.getPersonAttribute(Integer id)
Get a PersonAttribute from the database with the given PersonAttributeid
|
PersonAttribute |
PersonService.getPersonAttributeByUuid(String uuid)
Get PersonAttribute by its UUID
|
Modifier and Type | Method and Description |
---|---|
PersonAttribute |
PersonDAO.getPersonAttribute(Integer id) |
PersonAttribute |
PersonDAO.getPersonAttributeByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
PersonAttribute |
HibernatePersonDAO.getPersonAttribute(Integer id) |
PersonAttribute |
HibernatePersonDAO.getPersonAttributeByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPatientAttributeQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPatientAttributeQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPersonAttributeQuery(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
LuceneQuery<PersonAttribute> |
PersonLuceneQuery.getPersonAttributeQueryWithOrParser(String query,
boolean includeVoided,
LuceneQuery<?> skipSame) |
Modifier and Type | Method and Description |
---|---|
PersonAttribute |
PersonServiceImpl.getPersonAttribute(Integer id) |
PersonAttribute |
PersonServiceImpl.getPersonAttributeByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
protected PersonAttribute |
PersonAttributeEditor.getObjectById(Integer id) |
protected PersonAttribute |
PersonAttributeEditor.getObjectByUuid(String uuid) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.