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 |
Modifier and Type | Method and Description |
---|---|
static ConceptNameTag |
ConceptNameTag.preferredCountryTagFor(java.util.Locale locale)
A factory method which generates a preferred country tag from the country-code portion of a
locale.
|
static ConceptNameTag |
ConceptNameTag.preferredCountryTagFor(java.lang.String country)
A factory method that generates strings for preferred country tags.
|
static ConceptNameTag |
ConceptNameTag.preferredLanguageTagFor(java.util.Locale locale)
A factory method for generating a tag which indicates that a name is the preferred term
within a particular language.
|
static ConceptNameTag |
ConceptNameTag.preferredLanguageTagFor(java.lang.String language)
A factory method that generates strings for preferred language tags.
|
static ConceptNameTag |
ConceptNameTag.shortCountryTagFor(java.util.Locale locale)
Method that generates a concept name tag based on a specified locale's country code.
|
static ConceptNameTag |
ConceptNameTag.shortCountryTagFor(java.lang.String country)
A factory method that generates strings for short country tags.
|
static ConceptNameTag |
ConceptNameTag.shortLanguageTagFor(java.util.Locale locale)
Method that generates a concept name tag based on a specific locale's language.
|
static ConceptNameTag |
ConceptNameTag.shortLanguageTagFor(java.lang.String language)
A factory method that generates strings for short language tags.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ConceptNameTag> |
ConceptName.getTags()
Returns the tags which have been attached to this ConceptName.
|
Modifier and Type | Method and Description |
---|---|
void |
ConceptName.addTag(ConceptNameTag tag)
Attaches a tag to the concept name.
|
ConceptName |
Concept.findNameTaggedWith(ConceptNameTag conceptNameTag)
A convenience method to get the concept-name (if any) which has a particular tag.
|
ConceptName |
Concept.getName(java.util.Locale locale,
ConceptNameType ofType,
ConceptNameTag havingTag)
Returns concept name depending of locale, type (short, fully specified, etc) and tag.
|
java.lang.Boolean |
ConceptName.hasTag(ConceptNameTag tagToFind)
Checks whether the name has a particular tag.
|
void |
ConceptName.removeTag(ConceptNameTag tag)
Removes a tag from the concept name.
|
Modifier and Type | Method and Description |
---|---|
void |
ConceptName.setTags(java.util.Collection<ConceptNameTag> tags)
Set the tags which are attached to this ConceptName.
|
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
ConceptService.getConceptNameTag(java.lang.Integer id)
Gets the
ConceptNameTag with the given database primary key |
ConceptNameTag |
ConceptService.getConceptNameTagByName(java.lang.String tag)
Search for a ConceptNameTag by name
|
ConceptNameTag |
ConceptService.getConceptNameTagByUuid(java.lang.String uuid)
Get ConceptNameTag by its UUID
|
ConceptNameTag |
ConceptService.saveConceptNameTag(ConceptNameTag nameTag)
Creates a new Concept name tag if none exists.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ConceptNameTag> |
ConceptService.getAllConceptNameTags()
Get all the concept name tags defined in the database, included voided ones
|
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
ConceptService.saveConceptNameTag(ConceptNameTag nameTag)
Creates a new Concept name tag if none exists.
|
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
ConceptDAO.getConceptNameTag(java.lang.Integer i) |
ConceptNameTag |
ConceptDAO.getConceptNameTagByName(java.lang.String name) |
ConceptNameTag |
ConceptDAO.getConceptNameTagByUuid(java.lang.String uuid) |
ConceptNameTag |
ConceptDAO.saveConceptNameTag(ConceptNameTag nameTag) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ConceptNameTag> |
ConceptDAO.getAllConceptNameTags() |
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
ConceptDAO.saveConceptNameTag(ConceptNameTag nameTag) |
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
HibernateConceptDAO.getConceptNameTag(java.lang.Integer i) |
ConceptNameTag |
HibernateConceptDAO.getConceptNameTagByName(java.lang.String name) |
ConceptNameTag |
HibernateConceptDAO.getConceptNameTagByUuid(java.lang.String uuid) |
ConceptNameTag |
HibernateConceptDAO.saveConceptNameTag(ConceptNameTag nameTag) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ConceptNameTag> |
HibernateConceptDAO.getAllConceptNameTags() |
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
HibernateConceptDAO.saveConceptNameTag(ConceptNameTag nameTag) |
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
ConceptServiceImpl.getConceptNameTag(java.lang.Integer id) |
ConceptNameTag |
ConceptServiceImpl.getConceptNameTagByName(java.lang.String tagName) |
ConceptNameTag |
ConceptServiceImpl.getConceptNameTagByUuid(java.lang.String uuid) |
ConceptNameTag |
ConceptServiceImpl.saveConceptNameTag(ConceptNameTag nameTag) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ConceptNameTag> |
ConceptServiceImpl.getAllConceptNameTags() |
Modifier and Type | Method and Description |
---|---|
ConceptNameTag |
ConceptServiceImpl.saveConceptNameTag(ConceptNameTag nameTag) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.