org.obe.xpdl.model.misc
Class AccessLevel

java.lang.Object
  extended byorg.obe.util.AbstractEnum
      extended byorg.obe.xpdl.model.misc.AccessLevel
All Implemented Interfaces:
java.lang.Comparable, Enum, java.io.Serializable

public final class AccessLevel
extends AbstractEnum

Type class for access level types.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
static AccessLevel PRIVATE
          PRIVATE type object.
static int PRIVATE_INT
           
static AccessLevel PUBLIC
          PUBLIC type object.
static int PUBLIC_INT
           
static java.util.List VALUES
           
 
Fields inherited from class org.obe.util.AbstractEnum
name, ordinal
 
Method Summary
 java.util.List family()
          Returns an immutable list of the members of the enumerated type.
static AccessLevel valueOf(java.lang.String tag)
          Convert the specified type String to an AccessLevel type object.
 
Methods inherited from class org.obe.util.AbstractEnum
clinit, clone, compareTo, equals, hashCode, readResolve, toString, value
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PUBLIC_INT

public static final int PUBLIC_INT
See Also:
Constant Field Values

PRIVATE_INT

public static final int PRIVATE_INT
See Also:
Constant Field Values

PUBLIC

public static final AccessLevel PUBLIC
PUBLIC type object.


PRIVATE

public static final AccessLevel PRIVATE
PRIVATE type object.


VALUES

public static final java.util.List VALUES
Method Detail

valueOf

public static AccessLevel valueOf(java.lang.String tag)
Convert the specified type String to an AccessLevel type object. If the specified type string can not be converted to an AccessLevel object then this method will return null.

Parameters:
tag - The type String (PUBLIC or PRIVATE)
Returns:
The AccessLevel object or null

family

public java.util.List family()
Description copied from interface: Enum
Returns an immutable list of the members of the enumerated type.

Returns:
The family of allowed values.


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.