org.exolab.castor.xml
public class AccessRights extends Object
Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
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 |
Returns: true if this AccessRights allows reading, otherwise false.
Returns: true if this AccessRights allows writing, otherwise false.