rjw.dc.core.objects.software
Class Software

java.lang.Object
  |
  +--rjw.dc.core.objects.DataCrowObject
        |
        +--rjw.dc.core.objects.software.Software

public class Software
extends DataCrowObject

Representation of a Software record. Allows saving, updating and querying of Software records

Since:
1.3
Version:
DC0.50
Author:
Robert-Jan van der Waals

Field Summary
static int _A_NAME
          Name of the Software
static int _B_DESCRIPTION
          Description
static int _C_FILENAME
          Path
static int _D_TYPE
          Software Catagory
static int _E_MULTI
          Multiplayer Y/N
static int _F_LOCATION
          Location of the Software (for grouping)
static int _G_DISPOSE
          Keep this record Y/N
 
Fields inherited from class rjw.dc.core.objects.DataCrowObject
_ID
 
Constructor Summary
Software()
          Initializes the Software object; sets the required fields, the table name, initializes the value array and the database field names
 
Method Summary
 void load(QueryOptions options, RequestorCollection requestors)
          Loads the values from the database.
static void setConvertCatagory(boolean convert)
           
 void setValue(int iField, java.lang.Object value)
          Applies a value to this Software object
 void setValues(java.lang.Object[] row)
          Applies values to this Software record.
 
Methods inherited from class rjw.dc.core.objects.DataCrowObject
checkIntegrity, getFieldName, getFieldNames, getLabel, getLabels, getMaxFieldLength, getMaxFieldLengths, getRequiredFields, getSilence, getTableName, getUnfilledRequiredFields, getValue, getValues, isUnique, saveNew, saveUpdate, setSilence, setUIRowNumber, setValidation, toQueryCondition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_A_NAME

public static final int _A_NAME
Name of the Software

See Also:
Constant Field Values

_B_DESCRIPTION

public static final int _B_DESCRIPTION
Description

See Also:
Constant Field Values

_C_FILENAME

public static final int _C_FILENAME
Path

See Also:
Constant Field Values

_D_TYPE

public static final int _D_TYPE
Software Catagory

See Also:
Constant Field Values

_E_MULTI

public static final int _E_MULTI
Multiplayer Y/N

See Also:
Constant Field Values

_F_LOCATION

public static final int _F_LOCATION
Location of the Software (for grouping)

See Also:
Constant Field Values

_G_DISPOSE

public static final int _G_DISPOSE
Keep this record Y/N

See Also:
Constant Field Values
Constructor Detail

Software

public Software()
Initializes the Software object; sets the required fields, the table name, initializes the value array and the database field names

Method Detail

setConvertCatagory

public static void setConvertCatagory(boolean convert)

setValues

public void setValues(java.lang.Object[] row)
Applies values to this Software record. The first in the row is the ID

Parameters:
row - representation of an database row. First in row is the ID

setValue

public void setValue(int iField,
                     java.lang.Object value)
Applies a value to this Software object

Overrides:
setValue in class DataCrowObject
Parameters:
iField - field number

load

public void load(QueryOptions options,
                 RequestorCollection requestors)
Loads the values from the database. UI requests are past to the workflow

Overrides:
load in class DataCrowObject
Parameters:
options - search options
requestors - displaying request for the UI