org.jsmiparser.smi
Enum ObjectTypeAccessV1

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

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


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

READ_WRITE

public static final ObjectTypeAccessV1 READ_WRITE

WRITE_ONLY

public static final ObjectTypeAccessV1 WRITE_ONLY

NOT_ACCESSIBLE

public static final ObjectTypeAccessV1 NOT_ACCESSIBLE
Method Detail

values

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

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

valueOf

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

find

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