blackboard.data
Class BbLink

java.lang.Object
  extended by blackboard.data.BbLink

public class BbLink
extends java.lang.Object

Provides a wrapper around URL elements for attaching to data objects within the persistence framework. Represents a URL with additional descriptive information attached.

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

Constructor Summary
BbLink()
          Default constructor.
BbLink(java.lang.String strName, java.lang.String strUrl, java.lang.String strDescription)
          Constructs a BbLink with the given name, URL, and description.
 
Method Summary
 BbAttributes getBbAttributes()
          Returns the BbAttributes associated with this BbLink.
 java.lang.String getDescription()
          Returns the description associated with this BbLink.
 java.lang.String getName()
          Returns the name value of this BbLink object.
 java.lang.String getUrl()
          Returns the URL associated with this BbLink.
 void setDescription(java.lang.String strDescription)
          Sets the description associated with this BbLink.
 void setName(java.lang.String strName)
          Sets the name value for this BbLink object.
 void setUrl(java.lang.String strUrl)
          Sets the URL associated with this BbLink.
 java.lang.String toString()
          Returns the contents of this BbLink object as a single line separated list of name value pairs of this object's properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BbLink

public BbLink()
Default constructor.


BbLink

public BbLink(java.lang.String strName,
              java.lang.String strUrl,
              java.lang.String strDescription)
Constructs a BbLink with the given name, URL, and description.

Method Detail

getBbAttributes

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

Returns:
BbAttributes value for this BbLink

getName

public java.lang.String getName()
Returns the name value of this BbLink object.

Returns:
a String representing the name of this BbLink

setName

public void setName(java.lang.String strName)
Sets the name value for this BbLink object.

Parameters:
strName - a String with the name for this BbLink

getUrl

public java.lang.String getUrl()
Returns the URL associated with this BbLink.

Returns:
the URL value of this BbLink as a String

setUrl

public void setUrl(java.lang.String strUrl)
Sets the URL associated with this BbLink.

Parameters:
strUrl - a String containing the URL for this BbLink

getDescription

public java.lang.String getDescription()
Returns the description associated with this BbLink.

Returns:
the description value of this BbLink as a String

setDescription

public void setDescription(java.lang.String strDescription)
Sets the description associated with this BbLink.

Parameters:
strDescription - a String containing the description for this BbLink

toString

public java.lang.String toString()
Returns the contents of this BbLink object as a single line separated list of name value pairs of this object's properties. This method can be used for debug purposes.

Overrides:
toString in class java.lang.Object
Returns:
a String that represents the contents of this object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.