|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.core.client.NotifyModifiers
public class NotifyModifiers
The Modifier class provides static
methods and
constants to decode notify types modifiers. The sets of
modifiers are represented as integers with distinct bit positions
representing different modifiers.
Field Summary | |
---|---|
static int |
NOTIFY_ALL
The int value representing the Notify All
modifier. |
static int |
NOTIFY_LEASE_EXPIRATION
The int value representing the Notify Lease Expiration
modifier. |
static int |
NOTIFY_NONE
The int value representing the Notify None
modifier. |
static int |
NOTIFY_TAKE
The int value representing the Notify Take
modifier. |
static int |
NOTIFY_UPDATE
The int value representing the Notify Update
modifier. |
static int |
NOTIFY_WRITE
The int value representing the Notify Write
modifier. |
Constructor Summary | |
---|---|
NotifyModifiers()
|
Method Summary | |
---|---|
static boolean |
isALL(int mod)
Return true if the integer argument includes the all modifier, false otherwise. |
static boolean |
isLeaseExpiration(int mod)
Return true if the integer argument includes the lease expiration modifier, false otherwise. |
static boolean |
isTake(int mod)
Return true if the integer argument includes the take modifier, false otherwise. |
static boolean |
isUpdate(int mod)
Return true if the integer argument includes the update modifier, false otherwise. |
static boolean |
isWrite(int mod)
Return true if the integer argument includes the write modifier, false otherwise. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NOTIFY_NONE
int
value representing the Notify None
modifier.
public static final int NOTIFY_WRITE
int
value representing the Notify Write
modifier.
public static final int NOTIFY_UPDATE
int
value representing the Notify Update
modifier.
public static final int NOTIFY_TAKE
int
value representing the Notify Take
modifier.
public static final int NOTIFY_LEASE_EXPIRATION
int
value representing the Notify Lease Expiration
modifier.
public static final int NOTIFY_ALL
int
value representing the Notify All
modifier.
Constructor Detail |
---|
public NotifyModifiers()
Method Detail |
---|
public static boolean isWrite(int mod)
mod
- a set of modifiers
mod
includes the
public modifier; false otherwise.public static boolean isUpdate(int mod)
mod
- a set of modifiers
mod
includes the
update modifier; false otherwise.public static boolean isTake(int mod)
mod
- a set of modifiers
mod
includes the
take modifier; false otherwise.public static boolean isLeaseExpiration(int mod)
mod
- a set of modifiers
mod
includes the
lease expiration modifier; false otherwise.public static boolean isALL(int mod)
mod
- a set of modifiers
mod
includes the
all modifier; false otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |