Modifier property (JavaProperty - LotusScript® Language)
This returns the modifier value(s) for a Java™ property. The property is read only.
Defined in
Data type
Long
Syntax
To get: Long = javaproperty .Modifier
Usage
The Modifier property returns a combination of bits for the modifier(s) of the Java™ property (as specified by javaproperty) as follows:
Modifier |
Bit |
---|---|
public |
1 |
static |
8 |
final |
16 |
volatile |
64 |
transient |
128 |
For example, if a property is declared in Java™ as "public static final" the value of Modifier would be 25: the value of 1 for public added to the value of 8 for static added to the value of 16 for final.
Note: The
keywords private and protected are not available (private and protected
properties are not available with LS2J).