net.sf.dc.core.objects.musicfiles
Class MusicFile

java.lang.Object
  extended by net.sf.dc.core.objects.DCObject
      extended by net.sf.dc.core.objects.musicfiles.MusicFile

public class MusicFile
extends DCObject

Music object

Since:
1.3
Version:
0.50
Author:
Robert-Jan van der Waals

Field Summary
static int _A_TITLE
           
static int _B_ARTIST
           
static int _C_ALBUM
           
static int _D_YEAR
           
static int _E_GENRE
           
static int _F_FILENAME
           
static int _G_PLAYLENGTH
           
static int _H_QUALITY
           
static int _I_ENCODING
           
static int _J_LYRIC
           
static int _K_FILESIZE
           
static int _L_LOCATION
           
static int _M_RATING
           
 
Fields inherited from class net.sf.dc.core.objects.DCObject
_ID, alChildren, alValues, alwaysGenerateID, bValidation, module, uiRowNumber, wf
 
Constructor Summary
MusicFile()
           
 
Method Summary
 javax.swing.ImageIcon getIcon()
          Returns the icon for this object
protected  void initializeSettings()
          Initialize all user settings on this data crow object
protected  void setModuleIndex()
          Sets the module index / sets the ownership of this data crow object
 java.lang.String toString()
          Create a UI representation for this object
 
Methods inherited from class net.sf.dc.core.objects.DCObject
addChild, addChildren, addRequest, checkIntegrity, clearValues, delete, getChangedFields, getChangedValues, getChildren, getCreateStatements, getDatabaseFieldName, getDatabaseFieldNames, getDisplayString, getField, getFieldIndices, getFields, getFieldType, getFieldTypes, getHiddenFields, getID, getLabel, getLabels, getMaxFieldLength, getMaxFieldLengths, getModule, getNotSearchableFields, getParentReferenceFieldIndex, getReadOnlyFields, getRequests, getRequiredFields, getRow, getSilence, getTableJoin, getTableName, getTableShortName, getUnfilledRequiredFields, getValue, getValues, getVisibleFields, getVisibleValues, isBatch, isChanged, isChanged, isEndOfBatch, isHidden, isRequired, isSearchable, isUnique, load, removeChildren, removeRequestors, saveNew, saveUpdate, setAlwaysGenerateID, setBatch, setChanged, setChildren, setEndOfBatch, setIDs, setRow, setSilence, setValidation, setValue, setValues, toQueryCondition, undoChanges
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_A_TITLE

public static final int _A_TITLE
See Also:
Constant Field Values

_B_ARTIST

public static final int _B_ARTIST
See Also:
Constant Field Values

_C_ALBUM

public static final int _C_ALBUM
See Also:
Constant Field Values

_D_YEAR

public static final int _D_YEAR
See Also:
Constant Field Values

_E_GENRE

public static final int _E_GENRE
See Also:
Constant Field Values

_F_FILENAME

public static final int _F_FILENAME
See Also:
Constant Field Values

_G_PLAYLENGTH

public static final int _G_PLAYLENGTH
See Also:
Constant Field Values

_H_QUALITY

public static final int _H_QUALITY
See Also:
Constant Field Values

_I_ENCODING

public static final int _I_ENCODING
See Also:
Constant Field Values

_J_LYRIC

public static final int _J_LYRIC
See Also:
Constant Field Values

_K_FILESIZE

public static final int _K_FILESIZE
See Also:
Constant Field Values

_L_LOCATION

public static final int _L_LOCATION
See Also:
Constant Field Values

_M_RATING

public static final int _M_RATING
See Also:
Constant Field Values
Constructor Detail

MusicFile

public MusicFile()
Method Detail

setModuleIndex

protected void setModuleIndex()
Sets the module index / sets the ownership of this data crow object

Specified by:
setModuleIndex in class DCObject

getIcon

public javax.swing.ImageIcon getIcon()
Returns the icon for this object

Specified by:
getIcon in class DCObject

initializeSettings

protected void initializeSettings()
Initialize all user settings on this data crow object

Specified by:
initializeSettings in class DCObject

toString

public java.lang.String toString()
Create a UI representation for this object

Overrides:
toString in class java.lang.Object