org.jsmiparser.smi
Enum ObjectTypeAccessV2

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

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


Enum Constant Summary
ACCESSIBLE_FOR_NOTIFY
           
NOT_ACCESSIBLE
           
READ_CREATE
           
READ_ONLY
           
READ_WRITE
           
 
Method Summary
static ObjectTypeAccessV2 find(java.lang.String keyword, boolean mandatory)
           
 AccessAll getAccessAll()
           
 boolean isCreateWritable()
           
 boolean isReadable()
           
 boolean isWritable()
           
 java.lang.String toString()
           
static ObjectTypeAccessV2 valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ObjectTypeAccessV2[] 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

NOT_ACCESSIBLE

public static final ObjectTypeAccessV2 NOT_ACCESSIBLE

ACCESSIBLE_FOR_NOTIFY

public static final ObjectTypeAccessV2 ACCESSIBLE_FOR_NOTIFY

READ_ONLY

public static final ObjectTypeAccessV2 READ_ONLY

READ_WRITE

public static final ObjectTypeAccessV2 READ_WRITE

READ_CREATE

public static final ObjectTypeAccessV2 READ_CREATE
Method Detail

values

public static final ObjectTypeAccessV2[] 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(ObjectTypeAccessV2 c : ObjectTypeAccessV2.values())
        System.out.println(c);

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

valueOf

public static ObjectTypeAccessV2 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

getAccessAll

public AccessAll getAccessAll()

toString

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

find

public static ObjectTypeAccessV2 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.