blackboard.data.content
Interface Aggregate

All Superinterfaces:
Folder
All Known Implementing Classes:
ContentFolder, Lesson

public interface Aggregate
extends Folder

Aggregate extends the notion of Folder by adding methods that allow more explicit visibility and control over the rules of aggregation.

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

Method Summary
 boolean acceptsType(java.lang.String dataType)
          Method to determine whether a content type of a given type may be added to this Aggregate.
 Sequence getSequence()
          Returns the Sequence for this Aggregate.
 void remove(Content content)
          Removes the specified Content object from this Aggregate.
 
Methods inherited from interface blackboard.data.content.Folder
addContent, addContent, getChildren
 

Method Detail

acceptsType

boolean acceptsType(java.lang.String dataType)
Method to determine whether a content type of a given type may be added to this Aggregate.

Parameters:
dataType - String identifying the data type.
Returns:
true if the specified object may be added to this collection.

remove

void remove(Content content)
Removes the specified Content object from this Aggregate. If the specified object is not in this Aggregate, the method simply returns.

Parameters:
content - Content to remove.

getSequence

Sequence getSequence()
Returns the Sequence for this Aggregate. The Sequence may be used to traverse the collection in a linear fashion. The actual traversal may actually take any path, but callers simply see it as linear, via Sequence#next(SequenceContext).

Returns:
Sequence object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.