org.jsmiparser.smi
Enum AccessAll

java.lang.Object
  extended by java.lang.Enum<AccessAll>
      extended by org.jsmiparser.smi.AccessAll
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AccessAll>, AccessPermissions

public enum AccessAll
extends java.lang.Enum<AccessAll>
implements AccessPermissions


Enum Constant Summary
ACCESSIBLE_FOR_NOTIFY
           
NOT_ACCESSIBLE
           
NOT_IMPLEMENTED
           
READ_CREATE
           
READ_ONLY
           
READ_WRITE
           
WRITE_ONLY
           
 
Method Summary
static AccessAll find(java.lang.String keyword, boolean mandatory)
           
 boolean isCreateWritable()
           
 boolean isReadable()
           
 boolean isWritable()
           
 java.lang.String toString()
           
static AccessAll valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccessAll[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

READ_ONLY

public static final AccessAll READ_ONLY

READ_WRITE

public static final AccessAll READ_WRITE

WRITE_ONLY

public static final AccessAll WRITE_ONLY

NOT_ACCESSIBLE

public static final AccessAll NOT_ACCESSIBLE

ACCESSIBLE_FOR_NOTIFY

public static final AccessAll ACCESSIBLE_FOR_NOTIFY

READ_CREATE

public static final AccessAll READ_CREATE

NOT_IMPLEMENTED

public static final AccessAll NOT_IMPLEMENTED
Method Detail

values

public static final AccessAll[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AccessAll c : AccessAll.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static AccessAll valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<AccessAll>

find

public static AccessAll find(java.lang.String keyword,
                             boolean mandatory)

isCreateWritable

public boolean isCreateWritable()
Specified by:
isCreateWritable in interface AccessPermissions

isReadable

public boolean isReadable()
Specified by:
isReadable in interface AccessPermissions

isWritable

public boolean isWritable()
Specified by:
isWritable in interface AccessPermissions


Copyright © 2005-2007 null. All Rights Reserved.