Ifd:updateValue

From dev.ifd-library.org

Jump to: navigation, search

API version 2

Function public IfdValue updateValue (
                                     IfdValue value,
                                     String session_id) throws IfdServerException

Function to update a value. Everything except GUID may be updated.

Input:

  • IfdValue value The new changed value.
  • string session_id The session identifier for the active user.

Return: The changed value.

API version 3

Function public IfdValue updateValue (
                                     String session_id,
                                     IfdValue value) throws IfdServerException

EXPRESS Heading

QUERY FUNCTION updateValue (
                     the_value	:  IfdValue): IfdValue;

The function update value concept information.

Input:

  • string session_id - The session identifier for the active user.

IfdValue - value concept specification:

  • base – fully specified concept – base of value, see updateConcept description, updated value concept is identified by the_value.base.guid;
  • upper_tolerance – (optional) upper bound of the value tolerance, if not specified – it will not be changed;
  • lower_tolerance – (optional) lower bound of the value tolerance, if not specified – it will not be changed;
  • tolerance_type – (optional) type of the tolerance, one of the following: 'REALVALUE' or ‘PERCENTAGE’, if not specified – it will not be changed;
  • value_type – (optional) type of the value: 'STRING' 'INTEGER' 'REAL' 'BOOLEAN' 'LOGICAL'
  • if not specified – it will not be changed
  • nominal_value – (optional) datum of the value concept, if not specified – it will not be changed


Return:

IfdValue - The same value concept with updated attributes

Difference with v.2.00

  • (154) The function in v.2.00 did not update base attributes of the concept


Back to the API

Comments: