public class AccessRights
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static AccessRights |
both |
A read and write AccessRights
|
static short |
BOTH |
The type that indicates both read and write access
|
static AccessRights |
read |
A read-only AccessRights
|
static short |
READ |
The type that indicates only read access
|
static AccessRights |
write |
A write-only AccessRights
|
static short |
WRITE |
The type that indicates only write access
|
Modifier and Type | Method | Description |
---|---|---|
short |
getType() |
Returns the type of this Access
|
boolean |
isReadable() |
Returns true if this AccessRights allows reading
|
boolean |
isWritable() |
Returns true if this AccessRights allows writing
|
public static final short BOTH
public static final short READ
public static final short WRITE
public static final AccessRights both
public static final AccessRights read
public static final AccessRights write
public short getType()
public boolean isReadable()
public boolean isWritable()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com