blackboard.data.content
Class CourseUpload

java.lang.Object
  extended by blackboard.data.BbObject
      extended by blackboard.data.content.Upload
          extended by blackboard.data.content.CourseUpload
All Implemented Interfaces:
CourseUploadDef, UploadDef, IBbObject, java.lang.Cloneable

public class CourseUpload
extends Upload
implements CourseUploadDef

The CourseUpload class wraps a reference to a file that has been uploaded to the digital drop box in a course. This object only represents the information in the database used to track the file reference. References to the actual file system objects must be obtained separately.

Note that CourseUpload objects are only meant to deal with files associated with the digital drop box. It does not deal with files in other contexts, such as content uploads or groups' file exchange.

Since:
Bb 6.2
Version:
$Revision: #1 $ $Date: 2005/06/27 $

Nested Class Summary
static class CourseUpload.Status
          Status
 
Field Summary
static DataType DATA_TYPE
           
 
Fields inherited from class blackboard.data.BbObject
_bbAttributes
 
Fields inherited from interface blackboard.data.content.CourseUploadDef
COMMENTS, STATUS
 
Fields inherited from interface blackboard.data.content.UploadDef
COURSE_MEMBERSHIP_ID, FILE_ID, UPLOAD_DATE
 
Constructor Summary
CourseUpload()
          Default constructor.
 
Method Summary
 java.lang.String getComments()
          Method getComments.
 DataType getDataType()
          Returns the DataType identifier for the given BbObject-derived object.
 CourseUpload.Status getStatus()
          Method getStatus.
 void setComments(java.lang.String comments)
          Method setComments.
 void setStatus(CourseUpload.Status status)
          Method setStatus.
 
Methods inherited from class blackboard.data.content.Upload
getCourseMembershipId, getFile, getFileId, getUploadDate, setCourseMembershipId, setFile, setUploadDate, syncFileId
 
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 DataType DATA_TYPE
Constructor Detail

CourseUpload

public CourseUpload()
Default constructor. Creates an instance of CourseUpload with default property values.

Method Detail

getComments

public java.lang.String getComments()
Method getComments.

Returns:
String

setComments

public void setComments(java.lang.String comments)
Method setComments.

Parameters:
comments -

getStatus

public CourseUpload.Status getStatus()
Method getStatus.

Returns:
Status

setStatus

public void setStatus(CourseUpload.Status status)
Method setStatus.

Parameters:
status -

getDataType

public DataType getDataType()
Description copied from class: BbObject
Returns the DataType identifier for the given BbObject-derived object. Can be used to uniquely identify the "type" of a data object.

Specified by:
getDataType in interface IBbObject
Specified by:
getDataType in class BbObject
Returns:
the DataType for current object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.