org.openmrs
Interface OpenmrsMetadata

All Superinterfaces:
Auditable, OpenmrsObject, Retireable
All Known Implementing Classes:
ActiveListType, BaseOpenmrsMetadata, ConceptClass, ConceptDatatype, ConceptSource, Drug, EncounterType, Field, FieldType, Form, FormField, HL7Source, Location, LocationTag, MimeType, OrderType, PatientIdentifierType, PersonAttributeType, Privilege, Program, ProgramWorkflow, ProgramWorkflowState, RelationshipType, ReportSchema, Role, SerializedObject, TaskDefinition, User

public interface OpenmrsMetadata
extends OpenmrsObject, Auditable, Retireable

In OpenMRS, we distinguish between data and metadata within our data model. Metadata represent system and descriptive data such as data types — a relationship type or encounter type. Metadata are generally referenced by clinical data but don't represent patient-specific data themselves. OpenMRS objects that represent metadata should implement this interface. TODO: Support localized names and descriptions

Since:
1.5
See Also:
OpenmrsData

Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 
Methods inherited from interface org.openmrs.Auditable
getChangedBy, getCreator, getDateChanged, getDateCreated, setChangedBy, setCreator, setDateChanged, setDateCreated
 
Methods inherited from interface org.openmrs.Retireable
getDateRetired, getRetiredBy, getRetireReason, isRetired, setDateRetired, setRetired, setRetiredBy, setRetireReason
 
Methods inherited from interface org.openmrs.OpenmrsObject
getId, getUuid, setId, setUuid
 

Method Detail

getName

java.lang.String getName()
Returns:
the name

setName

void setName(java.lang.String name)
Parameters:
name - the name to set

getDescription

java.lang.String getDescription()
Returns:
the description

setDescription

void setDescription(java.lang.String description)
Parameters:
description - the description to set

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change