public class ConceptSource extends BaseOpenmrsMetadata implements Voidable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ConceptSource()
default constructor
|
ConceptSource(java.lang.Integer conceptSourceId)
constructor with id
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getConceptSourceId() |
User |
getCreator() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateVoided()
Deprecated.
|
java.lang.String |
getDescription() |
java.lang.String |
getHl7Code() |
java.lang.Integer |
getId() |
java.lang.String |
getName() |
java.lang.Boolean |
getVoided()
Deprecated.
Use the "proper" isRetired method.
|
User |
getVoidedBy()
Deprecated.
use getRetiredBy
|
java.lang.String |
getVoidReason()
Deprecated.
use getRetireReason
|
java.lang.Boolean |
isVoided()
Deprecated.
use isRetired
|
void |
setConceptSourceId(java.lang.Integer conceptSourceId) |
void |
setCreator(User creator) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDateVoided(java.util.Date dateVoided)
Deprecated.
|
void |
setDescription(java.lang.String description) |
void |
setHl7Code(java.lang.String hl7Code) |
void |
setId(java.lang.Integer id) |
void |
setName(java.lang.String name) |
void |
setVoided(java.lang.Boolean voided)
Deprecated.
use setRetired
|
void |
setVoidedBy(User voidedBy)
Deprecated.
use setRetiredBy
|
void |
setVoidReason(java.lang.String voidReason)
Deprecated.
use setRetireReason
|
getChangedBy, getDateChanged, getDateRetired, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setDateChanged, setDateRetired, setRetired, setRetiredBy, setRetireReason
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public ConceptSource()
public ConceptSource(java.lang.Integer conceptSourceId)
public java.lang.Integer getConceptSourceId()
public void setConceptSourceId(java.lang.Integer conceptSourceId)
conceptSourceId
- The conceptSourceId to set.public User getCreator()
getCreator
in interface Auditable
getCreator
in class BaseOpenmrsMetadata
Auditable.getCreator()
public void setCreator(User creator)
setCreator
in interface Auditable
setCreator
in class BaseOpenmrsMetadata
creator
- - the user who created the objectAuditable.setCreator(org.openmrs.User)
public java.util.Date getDateCreated()
getDateCreated
in interface Auditable
getDateCreated
in class BaseOpenmrsMetadata
Auditable.getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
setDateCreated
in interface Auditable
setDateCreated
in class BaseOpenmrsMetadata
dateCreated
- The dateCreated to set.Auditable.setDateCreated(java.util.Date)
@Deprecated public java.util.Date getDateVoided()
getDateVoided
in interface Voidable
@Deprecated public void setDateVoided(java.util.Date dateVoided)
setDateVoided
in interface Voidable
dateVoided
- The dateVoided to set.public java.lang.String getDescription()
getDescription
in interface OpenmrsMetadata
getDescription
in class BaseOpenmrsMetadata
public void setDescription(java.lang.String description)
setDescription
in interface OpenmrsMetadata
setDescription
in class BaseOpenmrsMetadata
description
- the description to setpublic java.lang.String getHl7Code()
public void setHl7Code(java.lang.String hl7Code)
hl7Code
- The hl7Code to set.public java.lang.String getName()
getName
in interface OpenmrsMetadata
getName
in class BaseOpenmrsMetadata
public void setName(java.lang.String name)
setName
in interface OpenmrsMetadata
setName
in class BaseOpenmrsMetadata
name
- the name to set@Deprecated public java.lang.Boolean isVoided()
@Deprecated public java.lang.Boolean getVoided()
isVoided()
@Deprecated public void setVoided(java.lang.Boolean voided)
@Deprecated public User getVoidedBy()
getVoidedBy
in interface Voidable
@Deprecated public void setVoidedBy(User voidedBy)
setVoidedBy
in interface Voidable
voidedBy
- The openmrs user that voided this source@Deprecated public java.lang.String getVoidReason()
getVoidReason
in interface Voidable
@Deprecated public void setVoidReason(java.lang.String voidReason)
setVoidReason
in interface Voidable
voidReason
- The reason this source is voidedpublic java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.