jcolibri.test.recommenders.rec12.moviesDB
Enum User.Occupation
java.lang.Object
java.lang.Enum<User.Occupation>
jcolibri.test.recommenders.rec12.moviesDB.User.Occupation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<User.Occupation>
- Enclosing class:
- User
public static enum User.Occupation
- extends java.lang.Enum<User.Occupation>
Method Summary |
static User.Occupation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static User.Occupation[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
administrator
public static final User.Occupation administrator
artist
public static final User.Occupation artist
doctor
public static final User.Occupation doctor
educator
public static final User.Occupation educator
engineer
public static final User.Occupation engineer
entertainment
public static final User.Occupation entertainment
executive
public static final User.Occupation executive
healthcare
public static final User.Occupation healthcare
homemaker
public static final User.Occupation homemaker
lawyer
public static final User.Occupation lawyer
librarian
public static final User.Occupation librarian
marketing
public static final User.Occupation marketing
none
public static final User.Occupation none
other
public static final User.Occupation other
programmer
public static final User.Occupation programmer
retired
public static final User.Occupation retired
salesman
public static final User.Occupation salesman
scientist
public static final User.Occupation scientist
student
public static final User.Occupation student
technician
public static final User.Occupation technician
writer
public static final User.Occupation writer
values
public static User.Occupation[] 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.Occupation c : User.Occupation.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.Occupation 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