|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.AccessRights
public class AccessRights
A class used to indicate access rights
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public short getType()
public boolean isReadable()
public boolean isWritable()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |