|
Syntax
- com::sun::star::reflection::XIdlClass getType
();
Description
-
Returns
-
an XIdlClass object that identifies the declared
type for the field represented by this XIdlField .
Syntax
- com::sun::star::reflection::FieldAccessMode getAccessMode
();
Description
-
Returns
-
an enumeration value which denotes whether the field is
"const", "readonly", "writeonly" or "readwrite".
Syntax
- any get
(
- any obj )
- raises ( com::sun::star::lang::IllegalArgumentException );
Description
-
Returns
-
the value of the field represented by this field on the specified object.
The underlying field's value is obtained as follows:
- If the underlying field is a constant, the
object argument is ignored; it may be NULL.
- Otherwise, the underlying field is an instance
field. If the specified object argument is
NULL, the method throws an
"IllegalArgumentException". If the specified
object is not an instance of the class,
interface, struct, union or enum declaring
the underlying field, the method throws an
"IllegalArgumentException".
- Otherwise, the value is retrieved from the
underlying instance or constant.
Throws
- IllegalArgumentException
if the specified object is NULL
and if the
specified object is not an instance of the class or
interface declaring the underlying field.
Syntax
- void set
(
- any obj,
- any value )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::lang::IllegalAccessException );
Description
sets the field represented by this XIdlField on the
specified object argument to the specified new value.
The operation proceeds as follows:
The field is set to the possibly widened new value.
|