Methods' Details |
getType
- Description
- Returns the type of the field.
- Returns
- type of the field
|
|
getAccessMode
- Description
- Returns the access mode of the field, i.e. read-write, read-only or
write-only (access mode "const" is deprecated).
- Returns
- access mode of the field
|
|
get
- Description
- Gets the value of the reflected field from the given object,
i.e. an interface, enum or compound type (struct/exception).
For enums, the given object is ignored; the returned value
reflects the constant enum 32-bit value.
When setting an interface attribute raises a
non- ::com::sun::star::uno::RuntimeException , it is
wrapped in a ::com::sun::star::lang::WrappedTargetRuntimeException .
- Parameter obj
- object instance having member of reflected type
- Returns
- value of field
- Throws
- IllegalAccessException
An ::com::sun::star::lang::IllegalAccessException
is thrown if the given object is no interface, enum or compound type;
or the given object does not have the reflected field.
|
|
set
- Description
- Sets the value of the reflected field of the given object,
i.e. an interface or compound type (struct/exception).
When setting an interface attribute raises a
non- ::com::sun::star::uno::RuntimeException , it is
wrapped in a ::com::sun::star::lang::WrappedTargetRuntimeException .
- Parameter obj
- object instance having member of reflected type
- Parameter value
- value to be set
- Throws
- IllegalAccessException
An ::com::sun::star::lang::IllegalAccessException
is thrown if the given object is no interface or compound type;
or the given object does not have the reflected field.
|
|
Copyright © 2003 Sun Microsystems, Inc.