net.datacrow.core.modules
Class LoanModule

java.lang.Object
  extended by net.datacrow.core.modules.DcModule
      extended by net.datacrow.core.modules.LoanModule
All Implemented Interfaces:
java.lang.Comparable<DcModule>

public class LoanModule
extends DcModule

Represents loan items.

Author:
Robert Jan van der Waals

Field Summary
 
Fields inherited from class net.datacrow.core.modules.DcModule
_TYPE_ASSOCIATE_MODULE, _TYPE_EXTERNALREFERENCE_MODULE, _TYPE_MAPPING_MODULE, _TYPE_MEDIA_MODULE, _TYPE_MODULE, _TYPE_PROPERTY_MODULE, _TYPE_TEMPLATE_MODULE, insertView, searchView
 
Constructor Summary
LoanModule()
          Creates a new instance of this module.
 
Method Summary
 DcObject createItem()
          Creates a new instance of a loan.
 boolean equals(java.lang.Object o)
           
 int[] getMinimalFields(java.util.Collection<java.lang.Integer> include)
           
 Settings getSettings()
          Retrieves the settings for this module.
 int[] getSupportedViews()
           
 boolean hasInsertView()
          Indicates if this module has an insert view available.
 boolean hasSearchView()
          Indicates if this module has a search view available.
protected  void initializeFields()
          Initializes the default fields.
protected  void initializeUI()
          This module does not have any views and therefore this method has not having to do.
 boolean isEnabled()
          Indicates if this module is enabled.
 
Methods inherited from class net.datacrow.core.modules.DcModule
addField, addValueEnhancer, applySettings, canBeLend, compareTo, delete, deliversOnlineService, getChartPanel, getChild, getCurrentInsertView, getCurrentSearchView, getDefaultData, getDefaultSortFieldIdx, getDescription, getDisplayFieldIdx, getDisplayIndex, getField, getField, getFieldCount, getFieldDefinitions, getFieldIndices, getFields, getFileField, getFileRenamerDialog, getFilterForm, getIcon16, getIcon16Filename, getIcon32, getIcon32Filename, getIconField, getImporter, getImporterClass, getIndex, getInsertView, getItem, getItemForm, getItemPluralResourceKey, getItemResourceKey, getKeyStroke, getLabel, getMenuBar, getModuleResourceKey, getName, getNameFieldIdx, getObjectName, getObjectNamePlural, getOnlineServices, getParent, getParentReferenceFieldIndex, getPersistentField, getPropertyModule, getQuickView, getQuickViewFieldDefinitions, getSearchView, getSetting, getSynchronizer, getSystemDisplayFieldIdx, getSystemField, getSystemObjectName, getSystemObjectNamePlural, getTableName, getTableShortName, getTemplateModule, getType, getViews, getWebFieldDefinitions, getXmlModule, hasActualReferenceTo, hasDependingModules, hashCode, hasReferenceTo, hasReports, initializeMultiReferenceFields, initializeSettings, initializeSystemFields, isAbstract, isChildModule, isContainerManaged, isCustomFieldsAllowed, isCustomModule, isDefaultDataLoaded, isEditingAllowed, isEnabled, isFileBacked, isHasImages, isHasReferences, isNew, isParentModule, isSearchViewInitialized, isSelectableInUI, isServingMultipleModules, isTopModule, isValid, release, removeEnhancers, setChild, setDefaultDataLoaded, setIcon16, setIcon32, setNew, setServingMultipleModules, setSetting, setValid, setXmlModule, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoanModule

public LoanModule()
Creates a new instance of this module.

Method Detail

hasInsertView

public boolean hasInsertView()
Description copied from class: DcModule
Indicates if this module has an insert view available.

Overrides:
hasInsertView in class DcModule

hasSearchView

public boolean hasSearchView()
Description copied from class: DcModule
Indicates if this module has a search view available.

Overrides:
hasSearchView in class DcModule

isEnabled

public boolean isEnabled()
Indicates if this module is enabled.

Overrides:
isEnabled in class DcModule
See Also:
DcModuleSettings

getSettings

public Settings getSettings()
Retrieves the settings for this module.

Overrides:
getSettings in class DcModule
See Also:
DcRepository.ModuleSettings

createItem

public DcObject createItem()
Creates a new instance of a loan.

Overrides:
createItem in class DcModule
See Also:
Loan

initializeUI

protected void initializeUI()
This module does not have any views and therefore this method has not having to do.

Overrides:
initializeUI in class DcModule

getSupportedViews

public int[] getSupportedViews()
Overrides:
getSupportedViews in class DcModule

getMinimalFields

public int[] getMinimalFields(java.util.Collection<java.lang.Integer> include)
Overrides:
getMinimalFields in class DcModule

initializeFields

protected void initializeFields()
Initializes the default fields.

Overrides:
initializeFields in class DcModule

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class DcModule