public class LocationTag extends BaseOpenmrsMetadata implements java.io.Serializable
LocationsLocation,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
LocationTag()
default constructor
|
LocationTag(java.lang.Integer locationTagId)
constructor with id
|
LocationTag(java.lang.String name,
java.lang.String description)
Required values constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getId() |
java.lang.Integer |
getLocationTagId() |
java.lang.String |
getTag()
Deprecated.
use
BaseOpenmrsMetadata.getName() instead |
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()
Returns a string consisting of the name of the class of which the object is an instance and
the
uuid field surrounded by [ and ]. |
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReasonequals, getUuid, hashCode, setUuidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic static final long serialVersionUID
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 existspublic 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) insteadtag - The tag to set.public java.lang.String toString()
BaseOpenmrsObjectuuid 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 BaseOpenmrsObjectObject.toString()public java.lang.Integer getId()
getId in interface OpenmrsObjectOpenmrsObject.getId()public void setId(java.lang.Integer id)
setId in interface OpenmrsObjectid - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.