uk.org.ury.library
Enum LibraryItemProperty
java.lang.Object
java.lang.Enum<LibraryItemProperty>
uk.org.ury.library.LibraryItemProperty
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LibraryItemProperty>
public enum LibraryItemProperty
- extends java.lang.Enum<LibraryItemProperty>
The parameters that are stored in the LibraryItem.
- Author:
- Matt Windsor
Field Summary |
java.lang.String |
sql
|
Method Summary |
static LibraryItemProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LibraryItemProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TITLE
public static final LibraryItemProperty TITLE
ALBUM
public static final LibraryItemProperty ALBUM
ARTIST
public static final LibraryItemProperty ARTIST
LABEL
public static final LibraryItemProperty LABEL
STATUS
public static final LibraryItemProperty STATUS
MEDIUM
public static final LibraryItemProperty MEDIUM
FORMAT
public static final LibraryItemProperty FORMAT
DATE_RELEASED
public static final LibraryItemProperty DATE_RELEASED
DATE_ADDED
public static final LibraryItemProperty DATE_ADDED
DATE_EDITED
public static final LibraryItemProperty DATE_EDITED
SHELF_LETTER
public static final LibraryItemProperty SHELF_LETTER
SHELF_NUMBER
public static final LibraryItemProperty SHELF_NUMBER
CD_ID
public static final LibraryItemProperty CD_ID
ADD_MEMBER_ID
public static final LibraryItemProperty ADD_MEMBER_ID
EDIT_MEMBER_ID
public static final LibraryItemProperty EDIT_MEMBER_ID
ADD_FORENAME
public static final LibraryItemProperty ADD_FORENAME
ADD_SURNAME
public static final LibraryItemProperty ADD_SURNAME
EDIT_FORENAME
public static final LibraryItemProperty EDIT_FORENAME
EDIT_SURNAME
public static final LibraryItemProperty EDIT_SURNAME
IS_DIGITISED
public static final LibraryItemProperty IS_DIGITISED
IS_CLEAN
public static final LibraryItemProperty IS_CLEAN
sql
public final java.lang.String sql
values
public static LibraryItemProperty[] 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 (LibraryItemProperty c : LibraryItemProperty.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LibraryItemProperty 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