|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rjw.dc.core.objects.DataCrowObject | +--rjw.dc.core.objects.mp3.Mp3
Representation of an MP3 file. Allows saving, updating and querying of MP3 records
Field Summary | |
static int |
_A_FILENAME
MP3 filename |
static int |
_B_TITLE
Song title |
static int |
_C_ARTIST
Artist name |
static int |
_D_ALBUM
Album name |
static int |
_E_YEAR
Year of creation |
static int |
_F_GENRE
Genre name |
static int |
_G_LENGTH
Play length |
static int |
_H_QUALITY
Sound quality |
static int |
_I_LOCATION
Location name (for grouping data) |
static int |
_J_KEEP
Keep this record (Y/N) |
Fields inherited from class rjw.dc.core.objects.DataCrowObject |
_ID |
Constructor Summary | |
Mp3()
Initializes the MP3 object; sets the required fields, the table name, initializes the value array and the database field names |
Method Summary | |
void |
load(QueryOptions options,
RequestorCollection requestors)
Loads the values from the database. |
void |
saveNew(RequestorCollection requestors)
Saves a new record to the database. |
void |
saveUpdate(RequestorCollection requestors)
Updates an existing record. |
void |
setValues(java.lang.Object[] row)
Applies values to this MP3 record. |
Methods inherited from class rjw.dc.core.objects.DataCrowObject |
checkIntegrity, getFieldName, getFieldNames, getLabel, getLabels, getMaxFieldLength, getMaxFieldLengths, getRequiredFields, getSilence, getTableName, getUnfilledRequiredFields, getValue, getValues, isUnique, setSilence, setUIRowNumber, setValidation, setValue, toQueryCondition |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int _A_FILENAME
public static final int _B_TITLE
public static final int _C_ARTIST
public static final int _D_ALBUM
public static final int _E_YEAR
public static final int _F_GENRE
public static final int _G_LENGTH
public static final int _H_QUALITY
public static final int _I_LOCATION
public static final int _J_KEEP
Constructor Detail |
public Mp3()
Method Detail |
public void setValues(java.lang.Object[] row)
row
- representation of an database row. First in row is the IDpublic void saveNew(RequestorCollection requestors)
saveNew
in class DataCrowObject
public void saveUpdate(RequestorCollection requestors)
saveUpdate
in class DataCrowObject
public void load(QueryOptions options, RequestorCollection requestors)
load
in class DataCrowObject
options
- search optionsrequestors
- displaying request for the UI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |