net.sf.dc.core.objects
Class Loan

java.lang.Object
  extended bynet.sf.dc.core.objects.DcObject
      extended bynet.sf.dc.core.objects.Loan

public class Loan
extends DcObject


Field Summary
static int _A_STARTDATE
           
static int _B_ENDDATE
           
static int _C_PERSONID
           
static int _D_OBJECTID
           
 
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
Loan()
           
 
Method Summary
 Loan getCurrentLoan(java.lang.String objectID)
           
 java.lang.Integer getDaysLoaned()
           
 java.lang.String getFilename()
          Returns the filename
 javax.swing.ImageIcon getIcon()
          Returns the icon for this object
 java.lang.String getPersonDescription()
           
 boolean isAvailable(java.lang.String objectID)
           
protected  void setModuleIndex()
          Sets the module index / sets the ownership of this data crow 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, toString, wait, wait, wait
 

Field Detail

_A_STARTDATE

public static final int _A_STARTDATE
See Also:
Constant Field Values

_B_ENDDATE

public static final int _B_ENDDATE
See Also:
Constant Field Values

_C_PERSONID

public static final int _C_PERSONID
See Also:
Constant Field Values

_D_OBJECTID

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

Loan

public Loan()
Method Detail

isAvailable

public boolean isAvailable(java.lang.String objectID)

getCurrentLoan

public Loan getCurrentLoan(java.lang.String objectID)

getPersonDescription

public java.lang.String getPersonDescription()

getDaysLoaned

public java.lang.Integer getDaysLoaned()

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