|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.data.discussionboard.MessageLabel
public class MessageLabel
The MessageLabel class represents a label to a given discussion board message within
the Bb Course Management System.
| Field Summary | |
|---|---|
static DataType |
DATA_TYPE
|
| Fields inherited from class blackboard.data.BbObject |
|---|
_bbAttributes |
| Constructor Summary | |
|---|---|
MessageLabel()
Creates an instance of MessageLabel with default property
values. |
|
| Method Summary | |
|---|---|
static ListFilter |
createMessageIdFilter(Id parentMsgId)
Factory method to create an instance of the ListFilter interface
capable of filtering a list of MessageLabel objects based
upon their parent message's Id value. |
DataType |
getDataType()
Returns the DataType identifier for this object. |
java.lang.String |
getLabel()
Returns the label that this MessageLabel represents. |
Id |
getParentMsgId()
Returns the parent message Id associated with this
MessageLabel. |
void |
setLabel(java.lang.String label)
Sets the label that this MessageLabel should represent. |
void |
setParentMsgId(Id iParentMsgId)
Sets the parent message Id associated with this
MessageLabel. |
| Methods inherited from class blackboard.data.BbObject |
|---|
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DataType DATA_TYPE
| Constructor Detail |
|---|
public MessageLabel()
MessageLabel with default property
values.
| Method Detail |
|---|
public Id getParentMsgId()
Id associated with this
MessageLabel.
Id value for this message labelpublic void setParentMsgId(Id iParentMsgId)
Id associated with this
MessageLabel.
iParentMsgId - the parent message Id value to use for this
message labelpublic java.lang.String getLabel()
MessageLabel represents.
MessageLabel represents as a Stringpublic void setLabel(java.lang.String label)
MessageLabel should represent.
label - the lacel that this MessageLabel should representpublic DataType getDataType()
DataType identifier for this object. Can be used to
uniquely identify the "type" of this data object.
getDataType in interface IBbObjectgetDataType in interface IdentifiablegetDataType in class BbObjectDataType for this objectpublic static final ListFilter createMessageIdFilter(Id parentMsgId)
ListFilter interface
capable of filtering a list of MessageLabel objects based
upon their parent message's Id value. Should be used with BbList.Iterator.
parentId - the Id of the parent for which message label
should be returned. Message label that is attached to a
given message (identified by Id) will be returned.
ListFilter instance that can filter on parent Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||