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

java.lang.Object
  extended bynet.sf.dc.core.objects.DcObject
      extended bynet.sf.dc.core.objects.DcMediaObject
          extended bynet.sf.dc.core.objects.musicfiles.MusicFile

public class MusicFile
extends DcMediaObject

Music object

Since:
1.3
Version:
0.5
Author:
Robert Jan van der Waals

Field Summary
static int _F_ARTIST
           
static int _G_ALBUM
           
static int _H_GENRE
           
static int _I_FILENAME
           
static int _J_PLAYLENGTH
           
static int _K_QUALITY
           
static int _L_ENCODING
           
static int _M_LYRIC
           
static int _N_FILESIZE
           
 
Fields inherited from class net.sf.dc.core.objects.DcMediaObject
_A_TITLE, _B_DESCRIPTION, _C_YEAR, _D_LOCATION, _E_RATING, _U1_USER_LONGTEXT, _U2_USER_SHORTTEXT1, _U3_USER_SHORTTEXT2, _U4_USER_NUMERIC1, _U5_USER_NUMERIC2
 
Fields inherited from class net.sf.dc.core.objects.DcObject
_ID, _SYS_AVAILABLE, _SYS_LOANDURATION, _SYS_LOANEDBY, _SYS_MODULE, alChildren, alwaysGenerateID, bValidation, module, uiRowNumber, values
 
Constructor Summary
MusicFile()
           
 
Method Summary
 java.lang.String getFilename()
          Returns the filename
 javax.swing.ImageIcon getIcon()
          Returns the icon for this 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, applySettings, checkIntegrity, clearValues, copy, delete, finalize, getChangedFields, getChildren, getDatabaseFieldCount, getDatabaseFieldName, getDisabledFields, getDisplayString, getField, getFieldIndices, getFields, getFieldType, getHiddenFields, getID, getLabel, getMaxFieldLength, getModule, getNotSearchableFields, getParentReferenceFieldIndex, getRequests, getRow, getSilence, getTableJoin, getTableName, getTableShortName, getValue, getValueDef, getVisibleFields, isBatch, isChanged, isChanged, isEnabled, isEndOfBatch, isRequired, isSearchable, isUnique, load, markAsUnchanged, reload, removeChildren, removeRequestors, saveNew, saveUpdate, setBatch, setChanged, setChildren, setEndOfBatch, setIDs, setRow, setSilence, setValidation, setValue, setValueForColumn
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_F_ARTIST

public static final int _F_ARTIST
See Also:
Constant Field Values

_G_ALBUM

public static final int _G_ALBUM
See Also:
Constant Field Values

_H_GENRE

public static final int _H_GENRE
See Also:
Constant Field Values

_I_FILENAME

public static final int _I_FILENAME
See Also:
Constant Field Values

_J_PLAYLENGTH

public static final int _J_PLAYLENGTH
See Also:
Constant Field Values

_K_QUALITY

public static final int _K_QUALITY
See Also:
Constant Field Values

_L_ENCODING

public static final int _L_ENCODING
See Also:
Constant Field Values

_M_LYRIC

public static final int _M_LYRIC
See Also:
Constant Field Values

_N_FILESIZE

public static final int _N_FILESIZE
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

getFilename

public java.lang.String getFilename()
Description copied from class: DcObject
Returns the filename

Specified by:
getFilename in class DcObject

toString

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