Name

java_set_property — Sets a Java class property

Synopsis

java_set_property ( in class_name varchar ,
  in instance_obj any ,
  in field_name varchar ,
  in field_ret_type_sig varchar ,
  in field_new_value any );
 

Description

Assigns a new value to either a Java class instance property referenced by instance_obj, or if instance_obj is not supplied (NULL) then sets a static Java class property.

Parameters

class_name

the name of the java class to set property for.

instance_obj

the Java VM class instance reference value (for example returned by java_new_object VSEI). Can be NULL.

field_name

the name of the field in the java class.

field_ret_type_sig

the JNI type signature of the field.

field_new_value

the value to be set.