blackboard.data
Interface IBbObject

All Known Implementing Classes:
BbObject

public interface IBbObject

The IBbObject class is an interface representing the root of the data class hierarchy. All data objects have BbObject as a superclass. It contains a set of members and methods that all data objects inherit.

Since:
Bb 6.0
Version:
$Revision: 5 $ $Date: 2/25/03 4:40p $

Method Summary
 BbAttributes getBbAttributes()
          Returns the BbAttributes associated with this IBbObject.
 java.util.Calendar getCreatedDate()
          Deprecated.  
 DataType getDataType()
          Returns the DataType identifier for the given IBbObject-derived object.
 Id getId()
          Returns the Id associated with this IBbObject.
 java.util.Calendar getModifiedDate()
          Returns the date on which this IBbObject was last modified.
 void setCreatedDate(java.util.Calendar cCreatedDate)
          Deprecated.  
 void setId(Id iId)
          Sets the Id value for this IBbObject.
 void setModifiedDate(java.util.Calendar cModifiedDate)
          Sets the last modified date for this IBbObject.
 void validate()
          Validates the contents of this IBbObject.
 

Method Detail

getBbAttributes

public BbAttributes getBbAttributes()
Returns the BbAttributes associated with this IBbObject.

Returns:
BbAttributes value for this IBbObject

getId

public Id getId()
Returns the Id associated with this IBbObject.

Returns:
Id value for this IBbObject

setId

public void setId(Id iId)
Sets the Id value for this IBbObject.

Parameters:
iId - an Id value to use for this IBbObject

getCreatedDate

public java.util.Calendar getCreatedDate()
Deprecated.  

In Bb6, schema level changes have caused a created date value to no longer be a reliable property of all Blackboard objects. As a result, this method should no longer be used as its behavior can not be guaranteed.


setCreatedDate

public void setCreatedDate(java.util.Calendar cCreatedDate)
Deprecated.  

In Bb6, schema level changes have caused a created date value to no longer be a reliable property of all Blackboard objects. As a result, this method should no longer be used as its behavior can not be guaranteed.


getModifiedDate

public java.util.Calendar getModifiedDate()
Returns the date on which this IBbObject was last modified.

Returns:
a Calendar representing the modified date of this IBbObject

setModifiedDate

public void setModifiedDate(java.util.Calendar cModifiedDate)
Sets the last modified date for this IBbObject.

The modified date value is controlled by the database (automatically updated by) and should generally not be directly manipulated by code.

Parameters:
cModifiedDate - a Calendar to use for the modified date

getDataType

public DataType getDataType()
Returns the DataType identifier for the given IBbObject-derived object. Can be used to uniquely identify the "type" of a data object.

Returns:
the DataType for current object

validate

public void validate()
              throws ValidationException
Validates the contents of this IBbObject. Internal consistency checks are also performed.

Throws:
ValidationException - if validation of this object fails


Copyright © 2003 Blackboard, Inc. All Rights Reserved.