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

Quick Search    Search Deep

nectar.record
Class CommentRecord  view CommentRecord download CommentRecord.java

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

public class CommentRecord
extends Record

The base model element for comment records.


Field Summary
protected  nectar.record.datatypes.RecordString comment
           
static java.lang.String FIELD_COMMENT
           
static java.lang.String FIELD_SUBJECT
           
protected  nectar.record.datatypes.RecordString subject
           
static java.lang.String TABLE
           
 
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
CommentRecord()
          Creates a new instance of CommentRecord
 
Method Summary
 java.lang.String getComment()
           
protected  java.util.Collection getFields()
           
 java.lang.String getRecordType()
          Returns the type String for this Record.
 java.lang.String getSubject()
           
 nectar.view.RecordView getView()
          Creates and returns appropriate RecordView instance for this record.
 void setComment(java.lang.String value)
           
 void setSubject(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, 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_SUBJECT

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

FIELD_COMMENT

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

TABLE

public static java.lang.String TABLE

subject

protected nectar.record.datatypes.RecordString subject

comment

protected nectar.record.datatypes.RecordString comment
Constructor Detail

CommentRecord

public CommentRecord()
Creates a new instance of CommentRecord

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

getFields

protected java.util.Collection getFields()
Overrides:
getFields in class Record

getSubject

public java.lang.String getSubject()

setSubject

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

getComment

public java.lang.String getComment()

setComment

public void setComment(java.lang.String 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