public class GlobalProperty extends BaseOpenmrsObject
Constructor and Description |
---|
GlobalProperty()
Default empty constructor
|
GlobalProperty(String property)
Constructor defining the key for this GP
|
GlobalProperty(String property,
String value)
Constructor defining the key and value of this GP
|
GlobalProperty(String property,
String value,
String description)
Constructor defining key/value/description for this GP
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
Integer |
getId() |
String |
getProperty() |
String |
getPropertyValue() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setId(Integer id) |
void |
setProperty(String property) |
void |
setPropertyValue(String propertyValue) |
String |
toString() |
getUuid, setUuid
public GlobalProperty()
public GlobalProperty(String property)
property
- key to name the propertypublic GlobalProperty(String property, String value)
property
- key to name the propertyvalue
- value to give to the propertypublic String getProperty()
public void setProperty(String property)
property
- The property to set.public String getPropertyValue()
public void setPropertyValue(String propertyValue)
propertyValue
- The propertyValue to set.public String getDescription()
public void setDescription(String description)
description
- the description to setpublic boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.