net.datacrow.core.objects
Class DcProperty
java.lang.Object
net.datacrow.core.objects.DcObject
net.datacrow.core.objects.DcProperty
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DcObject>
- Direct Known Subclasses:
- Tab
public class DcProperty
- extends DcObject
A property represents a simple item such as a category or a storage medium.
Properties are widely used within Data Crow to allow users to select from
a predefined set of options.
- Author:
- Robert Jan van der Waals
- See Also:
- Serialized Form
Fields inherited from class net.datacrow.core.objects.DcObject |
_ID, _SYS_AVAILABLE, _SYS_CONTAINER, _SYS_CREATED, _SYS_DISPLAYVALUE, _SYS_EXTERNAL_REFERENCES, _SYS_FILEHASH, _SYS_FILEHASHTYPE, _SYS_FILENAME, _SYS_FILESIZE, _SYS_LENDBY, _SYS_LOANDAYSTILLOVERDUE, _SYS_LOANDUEDATE, _SYS_LOANDURATION, _SYS_MODIFIED, _SYS_MODULE, _SYS_SERVICE, _SYS_SERVICEURL, _VALUE, children |
Constructor Summary |
DcProperty(int module)
Creates a new instance. |
Methods inherited from class net.datacrow.core.objects.DcObject |
addChild, addExternalReference, addRequest, applyEnhancers, applyTemplate, applyTemplate, beforeDelete, beforeSave, checkIntegrity, clearValues, clone, compareTo, copy, copyImage, createIcon, delete, destroy, executeRequests, finalize, flushImages, getChildren, getCurrentChildren, getDatabaseFieldCount, getDatabaseFieldName, getDisplayFieldIdx, getDisplayString, getExternalReference, getField, getFieldIndices, getFields, getFieldType, getFileField, getIcon, getID, getLabel, getMaxFieldLength, getModule, getNormalizedString, getNotSearchableFields, getParentID, getParentReferenceFieldIndex, getRequests, getTableName, getTableShortName, getValue, getValueDef, getValues, hashCode, hasPrimaryKey, initializeImages, initializeReferences, initializeReferences, isChanged, isChanged, isDestroyed, isEnabled, isFilled, isLastInLine, isLoaded, isNew, isRequired, isSearchable, isUnique, isUpdateGUI, load, load, loadChildren, markAsChanged, markAsUnchanged, merge, release, reload, removeChildren, removeRequests, saveNew, saveUpdate, saveUpdate, setChanged, setChildren, setIDs, setLastInLine, setLoanInformation, setLoanInformation, setNew, setUpdateGUI, setValidate, setValue, setValueForColumn, setValueForName, setValueLowLevel, validateRequiredFields |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
_A_NAME
public static final int _A_NAME
- See Also:
- Constant Field Values
_B_ICON
public static final int _B_ICON
- See Also:
- Constant Field Values
_C_ALTERNATIVE_NAMES
public static final int _C_ALTERNATIVE_NAMES
- See Also:
- Constant Field Values
DcProperty
public DcProperty(int module)
- Creates a new instance.
- Parameters:
module
-
getSystemDisplayFieldIdx
public int getSystemDisplayFieldIdx()
- Overrides:
getSystemDisplayFieldIdx
in class DcObject
getDefaultSortFieldIdx
public int getDefaultSortFieldIdx()
- Description copied from class:
DcObject
- The default sort field index. In case the user has not specified the field to sort on
this value will be used.
- Overrides:
getDefaultSortFieldIdx
in class DcObject
getFilename
public java.lang.String getFilename()
- The filename on which this item is based.
- Overrides:
getFilename
in class DcObject
- Returns:
- Returns always null.
toString
public java.lang.String toString()
- Overrides:
toString
in class DcObject
getName
public java.lang.String getName()
- Description copied from class:
DcObject
- Returns the name of this object based on the field settings. If the field settings do
no specify any descriptive fields the default name field index is used as defined in the
module definition.
- Overrides:
getName
in class DcObject
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class DcObject