org.opengts.db.tables
Enum User.UserType

java.lang.Object
  extended by java.lang.Enum<User.UserType>
      extended by org.opengts.db.tables.User.UserType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<User.UserType>, EnumTools.IntValue, EnumTools.StringLocale
Enclosing class:
User

public static enum User.UserType
extends java.lang.Enum<User.UserType>
implements EnumTools.StringLocale, EnumTools.IntValue


Enum Constant Summary
SYSTEM
           
TEMPORARY
           
TYPE_000
           
TYPE_001
           
TYPE_002
           
TYPE_003
           
TYPE_010
           
TYPE_011
           
TYPE_020
           
TYPE_021
           
TYPE_030
           
TYPE_031
           
 
Method Summary
 int getIntValue()
           
 boolean isDefault()
           
 boolean isSystem()
           
 boolean isTemporary()
           
 boolean isType(int type)
           
 java.lang.String toString()
           
 java.lang.String toString(java.util.Locale loc)
           
static User.UserType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static User.UserType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TYPE_000

public static final User.UserType TYPE_000

TYPE_001

public static final User.UserType TYPE_001

TYPE_002

public static final User.UserType TYPE_002

TYPE_003

public static final User.UserType TYPE_003

TYPE_010

public static final User.UserType TYPE_010

TYPE_011

public static final User.UserType TYPE_011

TYPE_020

public static final User.UserType TYPE_020

TYPE_021

public static final User.UserType TYPE_021

TYPE_030

public static final User.UserType TYPE_030

TYPE_031

public static final User.UserType TYPE_031

TEMPORARY

public static final User.UserType TEMPORARY

SYSTEM

public static final User.UserType SYSTEM
Method Detail

values

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

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

valueOf

public static User.UserType 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
java.lang.NullPointerException - if the argument is null

getIntValue

public int getIntValue()
Specified by:
getIntValue in interface EnumTools.IntValue

toString

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

toString

public java.lang.String toString(java.util.Locale loc)
Specified by:
toString in interface EnumTools.StringLocale

isDefault

public boolean isDefault()

isTemporary

public boolean isTemporary()

isSystem

public boolean isSystem()

isType

public boolean isType(int type)