public class LocationTag extends BaseOpenmrsMetadata implements Serializable
Location
sLocation
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
LocationTag()
default constructor
|
LocationTag(Integer locationTagId)
constructor with id
|
LocationTag(String name,
String description)
Required values constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares two LocationTag objects for similarity
|
Integer |
getId() |
Integer |
getLocationTagId() |
String |
getTag()
Deprecated.
use
BaseOpenmrsMetadata.getName() instead |
int |
hashCode() |
void |
setId(Integer id) |
void |
setLocationTagId(Integer locationTagId) |
void |
setTag(String tag)
Deprecated.
use
BaseOpenmrsMetadata.setName(String) instead |
String |
toString() |
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
getUuid, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public LocationTag()
public LocationTag(Integer locationTagId)
public LocationTag(String name, String description)
name
- the name of this encounter typedescription
- a short description of why this encounter type existspublic boolean equals(Object obj)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public Integer getLocationTagId()
public void setLocationTagId(Integer locationTagId)
locationTagId
- The locationTagId to set.@Deprecated public String getTag()
BaseOpenmrsMetadata.getName()
instead@Deprecated public void setTag(String tag)
BaseOpenmrsMetadata.setName(String)
insteadtag
- The tag to set.public 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.