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