blackboard.cms.portfolio
Class PortfolioComment

java.lang.Object
  extended byblackboard.data.BbObject
      extended byblackboard.cms.portfolio.PortfolioComment
All Implemented Interfaces:
java.lang.Cloneable, blackboard.data.IBbObject

public class PortfolioComment
extends blackboard.data.BbObject

The PortfolioComment class provides a representation of a portfolioComment within the Blackboard application.

Since:
Bb CS 1.0
Version:
$Revision: $

Field Summary
static blackboard.persist.DataType DATA_TYPE
          Object data type constant used in brokering loaders and persisters
 
Fields inherited from class blackboard.data.BbObject
_bbAttributes
 
Constructor Summary
PortfolioComment()
          Creates an instance of Portfolio with default property values.
 
Method Summary
 java.lang.String getComment()
          Get a comment for the Portfolio.
 blackboard.persist.DataType getDataType()
          Returns the DataType identifier for this object.
 java.util.Calendar getDatePosted()
          Get the date posted for the PortfolioComment.
 blackboard.persist.Id getPortfolioId()
          Get the portfolio Id for the PortfolioComment.
 blackboard.persist.Id getUserId()
          Get the user Id for the PortfolioComment.
 void setComment(java.lang.String str)
          Set a comment for the PortfolioComment.
 void setDatePosted(java.util.Calendar cal)
          Set the date posted for the PortfolioComment.
 void setPortfolioId(blackboard.persist.Id id)
          Set the portfolio Id for the PortfolioComment.
 void setUserId(blackboard.persist.Id id)
          Set the user Id for the PortfolioComment.
 
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

DATA_TYPE

public static final blackboard.persist.DataType DATA_TYPE
Object data type constant used in brokering loaders and persisters

Constructor Detail

PortfolioComment

public PortfolioComment()
Creates an instance of Portfolio with default property values.

Method Detail

getComment

public java.lang.String getComment()
Get a comment for the Portfolio.

Returns:
a String representing the comment text for the PortfolioComment.

setComment

public void setComment(java.lang.String str)
Set a comment for the PortfolioComment.

Parameters:
str - a String representing the comment text for the PortfolioComment.

getDatePosted

public java.util.Calendar getDatePosted()
Get the date posted for the PortfolioComment.

Returns:
a Calendar object representing the date the PortfolioComment was posted.

setDatePosted

public void setDatePosted(java.util.Calendar cal)
Set the date posted for the PortfolioComment.

Parameters:
cal - a Calendar object representing the date the PortfolioComment was posted.

getUserId

public blackboard.persist.Id getUserId()
Get the user Id for the PortfolioComment. The user Id represents the user that posted the PortfolioComment.

Returns:
a Id representing the user that posted the PortfolioComment.

setUserId

public void setUserId(blackboard.persist.Id id)
Set the user Id for the PortfolioComment. The user Id represents the user that posted the PortfolioComment.

Parameters:
id - a Id representing the user that posted the PortfolioComment.

getPortfolioId

public blackboard.persist.Id getPortfolioId()
Get the portfolio Id for the PortfolioComment. The portfolio Id represents the portfolio that the PortfolioComment is associated with.

Returns:
a Id representing the Portfolio Id that the PortfolioComment is associated it.

setPortfolioId

public void setPortfolioId(blackboard.persist.Id id)
Set the portfolio Id for the PortfolioComment. The portfolio Id represents the portfolio that the PortfolioComment is associated with.

Parameters:
id - a Id representing the Portfolio Id that the PortfolioComment is associated it.

getDataType

public blackboard.persist.DataType getDataType()
Returns the DataType identifier for this object. Can be used to uniquely identify the "type" of this data object.

Returns:
the DataType for this object


Copyright © 2003-2004 Blackboard, Inc. All Rights Reserved.