public class LocationTag extends BaseChangeableOpenmrsMetadata
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 |
---|---|
Integer |
getId() |
Integer |
getLocationTagId() |
void |
setId(Integer id) |
void |
setLocationTagId(Integer locationTagId) |
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
equals, getUuid, hashCode, 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 Integer getLocationTagId()
public void setLocationTagId(Integer locationTagId)
locationTagId
- The locationTagId to set.public String toString()
BaseOpenmrsObject
ClassName{hashCode=..., uuid=...}
If the uuid
field is null
, it returns:
ClassName{hashCode=...}Should include hashCode if uuid is null Should include uuid if not null
toString
in class BaseOpenmrsObject
public Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2024 OpenMRS Inc.. All rights reserved.