rjw.dc.core.objects.movie
Class Movie

java.lang.Object
  |
  +--rjw.dc.core.objects.DataCrowObject
        |
        +--rjw.dc.core.objects.movie.Movie

public class Movie
extends DataCrowObject

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

Field Summary
static int _A_TITLE
           
static int _B_DESCRIPTION
           
static int _C_WEBPAGE
           
static int _D_GENRE
           
static int _E_ACTORS
           
static int _F_DIRECTOR
           
static int _G_COUNTRY
           
static int _H_YEAR
           
static int _I_PLAYLENGTH
           
static int _J_FILENAME
           
static int _K_LOCATION
           
static int _L_KEEP
           
 
Fields inherited from class rjw.dc.core.objects.DataCrowObject
_ID
 
Constructor Summary
Movie()
          Initializes the Movie 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.
 void saveNew(RequestorCollection requestors)
          Saves a new record to the database.
 void saveUpdate(RequestorCollection requestors)
          Updates an existing record.
 void setValues(java.lang.Object[] row)
          Applies values to this Movie record.
 
Methods inherited from class rjw.dc.core.objects.DataCrowObject
checkIntegrity, getFieldName, getFieldNames, getLabel, getLabels, getMaxFieldLength, getMaxFieldLengths, getRequiredFields, getSilence, getTableName, getUnfilledRequiredFields, getValue, getValues, isUnique, setSilence, setUIRowNumber, setValidation, setValue, toQueryCondition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_A_TITLE

public static final int _A_TITLE
See Also:
Constant Field Values

_B_DESCRIPTION

public static final int _B_DESCRIPTION
See Also:
Constant Field Values

_C_WEBPAGE

public static final int _C_WEBPAGE
See Also:
Constant Field Values

_D_GENRE

public static final int _D_GENRE
See Also:
Constant Field Values

_E_ACTORS

public static final int _E_ACTORS
See Also:
Constant Field Values

_F_DIRECTOR

public static final int _F_DIRECTOR
See Also:
Constant Field Values

_G_COUNTRY

public static final int _G_COUNTRY
See Also:
Constant Field Values

_H_YEAR

public static final int _H_YEAR
See Also:
Constant Field Values

_I_PLAYLENGTH

public static final int _I_PLAYLENGTH
See Also:
Constant Field Values

_J_FILENAME

public static final int _J_FILENAME
See Also:
Constant Field Values

_K_LOCATION

public static final int _K_LOCATION
See Also:
Constant Field Values

_L_KEEP

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

Movie

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

Method Detail

setValues

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

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

saveNew

public void saveNew(RequestorCollection requestors)
Saves a new record to the database. Values are first validated for validity and integrity

Overrides:
saveNew in class DataCrowObject

saveUpdate

public void saveUpdate(RequestorCollection requestors)
Updates an existing record. Values are first validated for validity and integrity

Overrides:
saveUpdate in class DataCrowObject

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