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