public class Privilege extends BaseOpenmrsMetadata implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Privilege()
default constructor
|
Privilege(String privilege)
constructor with id
|
Privilege(String privilege,
String description) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getId() |
String |
getPrivilege() |
int |
hashCode() |
void |
setId(Integer id) |
void |
setPrivilege(String privilege) |
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 Privilege()
public Privilege(String privilege)
public String getPrivilege()
public void setPrivilege(String privilege)
privilege
- The privilege to set.public String toString()
toString
in class Object
Object.toString()
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.