public class Provider extends BaseCustomizableMetadata<ProviderAttribute>
Constructor and Description |
---|
Provider() |
Provider(java.lang.Integer providerId) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getId() |
java.lang.String |
getIdentifier() |
java.lang.String |
getName() |
Person |
getPerson() |
java.lang.Integer |
getProviderId() |
void |
setId(java.lang.Integer id) |
void |
setIdentifier(java.lang.String identifier) |
void |
setName(java.lang.String name) |
void |
setPerson(Person person) |
void |
setProviderId(java.lang.Integer providerId) |
java.lang.String |
toString()
Returns a string consisting of the name of the class of which the object is an instance and
the
uuid field surrounded by [ and ] . |
addAttribute, getActiveAttributes, getActiveAttributes, getAttributes, setAttribute, setAttributes
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setRetired, setRetiredBy, setRetireReason
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public Provider()
public Provider(java.lang.Integer providerId)
public java.lang.Integer getId()
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public void setProviderId(java.lang.Integer providerId)
providerId
- the providerId to setpublic java.lang.Integer getProviderId()
public void setPerson(Person person)
person
- the person to setpublic Person getPerson()
public void setIdentifier(java.lang.String identifier)
identifier
- the identifier to setpublic java.lang.String getIdentifier()
public java.lang.String toString()
BaseOpenmrsObject
uuid
field surrounded by [
and ]
. In other words,
this method returns a string equal to the value of: getClass().getName() + '[' + uuid + ']'
If the uuid
field is null
, it delegates to
Object.toString()
toString
in class BaseOpenmrsObject
Object.toString()
public java.lang.String getName()
getName
in interface OpenmrsMetadata
getName
in class BaseOpenmrsMetadata
BaseOpenmrsMetadata.getName()
public void setName(java.lang.String name)
setName
in interface OpenmrsMetadata
setName
in class BaseOpenmrsMetadata
name
- the name to setBaseOpenmrsMetadata.setName(java.lang.String)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.