java.lang.Object
nectar.record.Record
nectar.record.CommentRecord
- All Implemented Interfaces:
- java.io.Serializable
- public class CommentRecord
- extends Record
The base model element for comment records.
| 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 |
| 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_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
CommentRecord
public CommentRecord()
- Creates a new instance of CommentRecord
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