org.exolab.castor.xml
public class AccessRights extends Object
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:08 $
| 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.