org.jsmiparser.smi
Enum ObjectTypeAccessV2
java.lang.Object
java.lang.Enum<ObjectTypeAccessV2>
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
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 |
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
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.