|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.BaseOpenmrsMetadata org.openmrs.LocationTag
public class LocationTag
An LocationTag allows categorization of Location
s
Location
,
Serialized FormField Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
LocationTag()
default constructor |
|
LocationTag(java.lang.Integer locationTagId)
constructor with id |
|
LocationTag(java.lang.String name,
java.lang.String description)
Required values constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares two LocationTag objects for similarity |
java.lang.Integer |
getId()
|
java.lang.Integer |
getLocationTagId()
|
java.lang.String |
getTag()
Deprecated. use BaseOpenmrsMetadata.getName() instead |
int |
hashCode()
|
void |
setId(java.lang.Integer id)
|
void |
setLocationTagId(java.lang.Integer locationTagId)
|
void |
setTag(java.lang.String tag)
Deprecated. use BaseOpenmrsMetadata.setName(String) instead |
java.lang.String |
toString()
|
Methods inherited from class org.openmrs.BaseOpenmrsMetadata |
---|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason |
Methods inherited from class org.openmrs.BaseOpenmrsObject |
---|
getUuid, setUuid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openmrs.OpenmrsObject |
---|
getUuid, setUuid |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public LocationTag()
public LocationTag(java.lang.Integer locationTagId)
public LocationTag(java.lang.String name, java.lang.String description)
name
- the name of this encounter typedescription
- a short description of why this encounter type existsMethod Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The LocationTag object to be compared.
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.Integer getLocationTagId()
public void setLocationTagId(java.lang.Integer locationTagId)
locationTagId
- The locationTagId to set.@Deprecated public java.lang.String getTag()
BaseOpenmrsMetadata.getName()
instead
@Deprecated public void setTag(java.lang.String tag)
BaseOpenmrsMetadata.setName(String)
instead
tag
- The tag to set.public java.lang.String toString()
toString
in class java.lang.Object
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)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |