|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.BaseOpenmrsObject
org.openmrs.GlobalProperty
public class GlobalProperty
Global properties are simple key-value pairs persisted in the database GPs can be thought of as something similar to environment variables used in operating systems.
| Constructor Summary | |
|---|---|
GlobalProperty()
Default empty constructor |
|
GlobalProperty(java.lang.String property)
Constructor defining the key for this GP |
|
GlobalProperty(java.lang.String property,
java.lang.String value)
Constructor defining the key and value of this GP |
|
GlobalProperty(java.lang.String property,
java.lang.String value,
java.lang.String description)
Constructor defining key/value/description for this GP |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getDescription()
|
java.lang.Integer |
getId()
|
java.lang.String |
getProperty()
|
java.lang.String |
getPropertyValue()
|
int |
hashCode()
|
void |
setDescription(java.lang.String description)
|
void |
setId(java.lang.Integer id)
|
void |
setProperty(java.lang.String property)
|
void |
setPropertyValue(java.lang.String propertyValue)
|
java.lang.String |
toString()
|
| Methods inherited from class org.openmrs.BaseOpenmrsObject |
|---|
getUuid, setUuid |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalProperty()
public GlobalProperty(java.lang.String property)
property - key to name the property
public GlobalProperty(java.lang.String property,
java.lang.String value)
property - key to name the propertyvalue - value to give to the property
public GlobalProperty(java.lang.String property,
java.lang.String value,
java.lang.String description)
property - key to name the propertyvalue - value to give to the propertydescription - description of how this property is used| Method Detail |
|---|
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
property - The property to set.public java.lang.String getPropertyValue()
public void setPropertyValue(java.lang.String propertyValue)
propertyValue - The propertyValue to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description to setpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.Integer getId()
OpenmrsObject.getId()public void setId(java.lang.Integer id)
id - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||