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, setAttributes
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public 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()
BaseOpenmrsObject
ClassName{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 BaseOpenmrsObject
public String getName()
getName
in interface OpenmrsMetadata
getName
in class BaseOpenmrsMetadata
Should return person full name if person is not null or null otherwise
Copyright © 2024 OpenMRS Inc.. All rights reserved.