public class ConceptSet extends BaseOpenmrsObject implements Auditable, java.io.Serializable, java.lang.Comparable<ConceptSet>
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ConceptSet()
default constructor
|
ConceptSet(Concept concept,
java.lang.Double weight) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ConceptSet cs) |
User |
getChangedBy()
Not currently used.
|
Concept |
getConcept() |
Concept |
getConceptSet() |
java.lang.Integer |
getConceptSetId()
Gets the concept set identifier.
|
User |
getCreator() |
java.util.Date |
getDateChanged()
Not currently used.
|
java.util.Date |
getDateCreated() |
java.lang.Integer |
getId() |
java.lang.Double |
getSortWeight() |
void |
setChangedBy(User changedBy)
Not currently used.
|
void |
setConcept(Concept concept) |
void |
setConceptSet(Concept set) |
void |
setConceptSetId(java.lang.Integer conceptSetId)
Sets the concept set identifier.
|
void |
setCreator(User creator) |
void |
setDateChanged(java.util.Date dateChanged)
Not currently used.
|
void |
setDateCreated(java.util.Date dateCreated) |
void |
setId(java.lang.Integer id) |
void |
setSortWeight(java.lang.Double sortWeight) |
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public ConceptSet()
public ConceptSet(Concept concept, java.lang.Double weight)
public java.lang.Integer getConceptSetId()
public void setConceptSetId(java.lang.Integer conceptSetId)
conceptSetId
- The concept set identifier.public Concept getConcept()
public void setConcept(Concept concept)
public Concept getConceptSet()
public void setConceptSet(Concept set)
public java.lang.Double getSortWeight()
public void setSortWeight(java.lang.Double sortWeight)
sortWeight
- The sortWeight to set.public User getCreator()
getCreator
in interface Auditable
public void setCreator(User creator)
setCreator
in interface Auditable
creator
- The creator to set.public java.util.Date getDateCreated()
getDateCreated
in interface Auditable
public void setDateCreated(java.util.Date dateCreated)
setDateCreated
in interface Auditable
dateCreated
- The dateCreated to set.public 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)
public User getChangedBy()
getChangedBy
in interface Auditable
Auditable.getChangedBy()
public java.util.Date getDateChanged()
getDateChanged
in interface Auditable
Auditable.getDateChanged()
public void setChangedBy(User changedBy)
setChangedBy
in interface Auditable
changedBy
- - the user who last changed the objectAuditable.setChangedBy(org.openmrs.User)
public void setDateChanged(java.util.Date dateChanged)
setDateChanged
in interface Auditable
dateChanged
- - the date the object was last changedAuditable.setDateChanged(java.util.Date)
public int compareTo(ConceptSet cs)
compareTo
in interface java.lang.Comparable<ConceptSet>
Comparable.compareTo(java.lang.Object)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.