Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nectar.record
Class CategoryRecord  view CategoryRecord download CategoryRecord.java

java.lang.Object
  extended bynectar.record.Record
      extended bynectar.record.CategoryRecord
All Implemented Interfaces:
java.io.Serializable

public class CategoryRecord
extends Record

The base model element for category records.


Field Summary
static java.lang.String FIELD_FOR_TYPE
           
static java.lang.String FIELD_GHOST
           
static java.lang.String FIELD_SPECIAL
           
static java.lang.String FIELD_TITLE
           
protected  nectar.record.datatypes.RecordString forType
           
protected  nectar.record.datatypes.RecordInteger ghost
           
protected  nectar.record.datatypes.RecordBoolean special
           
static java.lang.String TABLE
           
protected  nectar.record.datatypes.RecordString title
           
 
Fields inherited from class nectar.record.Record
dataTables, FIELD_CHILD_ID, FIELD_CREATED_BY, FIELD_CREATED_DATE, FIELD_MODIFIED_DATE, FIELD_ORDER_BY, FIELD_OWNER, FIELD_PROJECT, FIELD_RECORD_ID, FIELD_STATUS, FIELD_TYPE, fields, TOP_LEVEL_FIELD_NAMES
 
Constructor Summary
CategoryRecord()
          Creates a new instance of CategoryRecord
 
Method Summary
 java.lang.String getForType()
           
 java.lang.Long getGhost()
           
 java.lang.String getRecordType()
          Returns the type String for this Record.
 java.lang.Boolean getSpecial()
           
 java.lang.String getTitle()
           
 nectar.view.RecordView getView()
          Creates and returns appropriate RecordView instance for this record.
 void setForType(java.lang.String value)
           
 void setGhost(java.lang.Long value)
           
 void setSpecial(java.lang.Boolean value)
           
 void setTitle(java.lang.String value)
           
 void setupCreate(java.lang.Long project, java.lang.Long creator)
          loads all the default and system values into an newly instantiated, empty Record instance.
 
Methods inherited from class nectar.record.Record
copy, getCreatedBy, getCreatedDate, getFieldNames, getFields, getId, getModifiedDate, getOrderBy, getOwner, getProject, getStatus, getTables, load, setCreatedBy, setCreatedDate, setId, setModifiedDate, setOrderBy, setOwner, setProject, setStatus, toMap, toObjectMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_TITLE

public static final java.lang.String FIELD_TITLE
See Also:
Constant Field Values

FIELD_FOR_TYPE

public static final java.lang.String FIELD_FOR_TYPE
See Also:
Constant Field Values

FIELD_SPECIAL

public static final java.lang.String FIELD_SPECIAL
See Also:
Constant Field Values

FIELD_GHOST

public static final java.lang.String FIELD_GHOST
See Also:
Constant Field Values

TABLE

public static java.lang.String TABLE

title

protected nectar.record.datatypes.RecordString title

forType

protected nectar.record.datatypes.RecordString forType

special

protected nectar.record.datatypes.RecordBoolean special

ghost

protected nectar.record.datatypes.RecordInteger ghost
Constructor Detail

CategoryRecord

public CategoryRecord()
Creates a new instance of CategoryRecord

Method Detail

getView

public nectar.view.RecordView getView()
Description copied from class: Record
Creates and returns appropriate RecordView instance for this record. You can safely typecast the return value to the RecordView subclass associated to this record.

Specified by:
getView in class Record

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String value)
              throws RecordInvalidInputException

getForType

public java.lang.String getForType()

setForType

public void setForType(java.lang.String value)
                throws RecordInvalidInputException

getSpecial

public java.lang.Boolean getSpecial()

setSpecial

public void setSpecial(java.lang.Boolean value)
                throws RecordInvalidInputException

getGhost

public java.lang.Long getGhost()

setGhost

public void setGhost(java.lang.Long value)
              throws RecordInvalidInputException

getRecordType

public java.lang.String getRecordType()
Description copied from class: Record
Returns the type String for this Record.

Specified by:
getRecordType in class Record

setupCreate

public void setupCreate(java.lang.Long project,
                        java.lang.Long creator)
Description copied from class: Record
loads all the default and system values into an newly instantiated, empty Record instance.

Overrides:
setupCreate in class Record