net.sf.dc.core.objects.audiocd
Class AudioTrack

java.lang.Object
  extended bynet.sf.dc.core.objects.DcObject
      extended bynet.sf.dc.core.objects.DcMediaObject
          extended bynet.sf.dc.core.objects.audiocd.AudioTrack

public class AudioTrack
extends DcMediaObject

The Audio Track Object

Since:
1.4
Version:
1.5
Author:
Robert Jan van der Waals
See Also:
DcObject

Field Summary
static int _F_TRACKNUMBER
           
static int _G_LYRICS
           
static int _H_PLAYLENGTH
           
static int _I_ALBUM
           
 
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
AudioTrack()
           
 
Method Summary
 void checkIntegrity(boolean update)
          Checks if the values are unique and if all the required fields have been filled
 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, 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_TRACKNUMBER

public static final int _F_TRACKNUMBER
See Also:
Constant Field Values

_G_LYRICS

public static final int _G_LYRICS
See Also:
Constant Field Values

_H_PLAYLENGTH

public static final int _H_PLAYLENGTH
See Also:
Constant Field Values

_I_ALBUM

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

AudioTrack

public AudioTrack()
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

checkIntegrity

public void checkIntegrity(boolean update)
                    throws ValidationException
Description copied from class: DcObject
Checks if the values are unique and if all the required fields have been filled

Overrides:
checkIntegrity in class DcObject
Parameters:
update - indicates if the values are new or existing
Throws:
ValidationException

toString

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