org.opengts.db.tables
Enum User.UserType
java.lang.Object
java.lang.Enum<User.UserType>
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
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 |
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
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)