public class Provider extends BaseCustomizableMetadata<ProviderAttribute>
| Constructor and Description |
|---|
Provider() |
Provider(Integer providerId) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
String |
getIdentifier() |
String |
getName() |
Person |
getPerson() |
Integer |
getProviderId() |
Concept |
getRole()
Gets the role concept
|
Concept |
getSpeciality()
Gets the speciality concept
|
void |
setId(Integer id) |
void |
setIdentifier(String identifier) |
void |
setPerson(Person person) |
void |
setProviderId(Integer providerId) |
void |
setRole(Concept role)
Sets the role concept
|
void |
setSpeciality(Concept speciality)
Sets the speciality concept
|
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
addAttribute, getActiveAttributes, getActiveAttributes, getAttributes, setAttribute, setAttributesgetChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReasonequals, getUuid, hashCode, setUuidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic Provider()
public Provider(Integer providerId)
public Integer getId()
OpenmrsObject.getId()public void setId(Integer id)
id - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)public void setProviderId(Integer providerId)
providerId - the providerId to setpublic Integer getProviderId()
public void setPerson(Person person)
person - the person to setpublic Person getPerson()
public void setIdentifier(String identifier)
identifier - the identifier to setpublic String getIdentifier()
public void setRole(Concept role)
role - the role to setpublic Concept getRole()
public void setSpeciality(Concept speciality)
speciality - the speciality to setpublic Concept getSpeciality()
public String toString()
BaseOpenmrsObjectClassName{hashCode=..., uuid=...}
If the uuid field is null, it returns:
ClassName{hashCode=...}Should include hashCode if uuid is null Should include uuid if not null
toString in class BaseOpenmrsObjectpublic String getName()
getName in interface OpenmrsMetadatagetName in class BaseOpenmrsMetadataShould return person full name if person is not null or null otherwiseCopyright © 2024 OpenMRS Inc.. All rights reserved.