getValue (DataService - Java)

Read-only. Can be used as an alternative to return the same values as getName(), getLabel(), and getPlan(). The method looks directly at the values in the VCAP_SERVICES environment variable.

Defined in

DataService

Syntax

public String getValue(String)
       throws NotesException: 

Usage

This property an be used as an alternative to return the same values as getName(), getLabel(), and getPlan(). The method looks directly at the values in the VCAP_SERVICES environment variable.

This method can be used as follows:

  • getValue("name") returns the same as getName()
  • getValue("label") returns the same as getLabel()
  • getValue("plan") returns the same as getPlan()

This method looks directly at the related values in the VCAP_SERVICES environment variable.

For detailed descriptions of the VCAP_SERVICES environment variables, refer to the Bluemix documentation on environment variables for more information.

Language cross-reference

getValue method in JavaScript DataService object.