blackboard.data.content
Class UploadedFile

java.lang.Object
  extended by blackboard.data.BbObject
      extended by blackboard.data.content.UploadedFile
All Implemented Interfaces:
UploadedFileDef, IBbObject, java.lang.Cloneable

public class UploadedFile
extends BbObject
implements UploadedFileDef

UploadedFile

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

Nested Class Summary
static class UploadedFile.Action
          Type-safe enumeration of possible values for the Action attribute of a file.
 
Field Summary
static DataType DATA_TYPE
           
 
Fields inherited from class blackboard.data.BbObject
_bbAttributes
 
Fields inherited from interface blackboard.data.content.UploadedFileDef
FILE_ACTION, FILE_NAME, FILE_SIZE, LINK_NAME, PARENT_ID, RECYCLED
 
Constructor Summary
UploadedFile()
           
 
Method Summary
 DataType getDataType()
          Returns the DataType identifier for the given BbObject-derived object.
 UploadedFile.Action getFileAction()
          Method getFileAction.
 java.lang.String getFileName()
          Method getFileName.
 long getFileSize()
          Method getFileSize.
 java.lang.String getLinkName()
          Method getLinkName.
 Id getParentId()
          Method getParentId.
 boolean isRecycled()
          Method isRecycled.
 void setFileAction(UploadedFile.Action fileAction)
          Method setFileAction.
 void setFileName(java.lang.String fileName)
          Method setFileName.
 void setFileSize(long fileSize)
          Method setFileSize.
 void setLinkName(java.lang.String linkName)
          Method setLinkName.
 void setParentId(Id parentId)
          Method setParentId.
 void setRecycled(boolean recycled)
          Method setRecycled.
 
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

UploadedFile

public UploadedFile()
Method Detail

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
See Also:
BbObject.getDataType()

getParentId

public Id getParentId()
Method getParentId.

Returns:
Id

setParentId

public void setParentId(Id parentId)
Method setParentId.

Parameters:
parentId -

getFileName

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

Returns:
file name

setFileName

public void setFileName(java.lang.String fileName)
Method setFileName.

Parameters:
fileName -

getFileSize

public long getFileSize()
Method getFileSize.

Returns:
file size

setFileSize

public void setFileSize(long fileSize)
Method setFileSize.

Parameters:
fileSize -

getFileAction

public UploadedFile.Action getFileAction()
Method getFileAction.

Returns:
DOCUMENT ME!

setFileAction

public void setFileAction(UploadedFile.Action fileAction)
Method setFileAction.

Parameters:
fileAction -

getLinkName

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

Returns:
DOCUMENT ME!

setLinkName

public void setLinkName(java.lang.String linkName)
Method setLinkName.

Parameters:
linkName -

isRecycled

public boolean isRecycled()
Method isRecycled.

Returns:
DOCUMENT ME!

setRecycled

public void setRecycled(boolean recycled)
Method setRecycled.

Parameters:
recycled -


Copyright © 2003 Blackboard, Inc. All Rights Reserved.