Get the field value of a Java object
jgetfield(object, fieldName [, unwrap])
A mlist typed _JObj or _JClass or a Scilab variable
A string giving the field name
A single boolean
Get the value of the field named fieldName. If the optional third argument is true, then the value is automatically unwrapped.
This function also works with beans properties which may not be mapped to a public java field.
Version | Description |
5.5.0 | Function introduced. Based on the 'JIMS' module. The main difference in the behavior compared to the JIMS module is that jautoUnwrap is enabled by default. |