|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--blackboard.data.BbObject
|
+--blackboard.data.content.Link
The Link class is a representation of a link within the Blackboard
application. A link represents a "shortcut" (or reference) from one part of
a course to another part of the same course.
| Nested Class Summary | |
static class |
Link.ReferredToType
|
static class |
Link.ReferrerType
|
| Field Summary | |
static DataType |
DATA_TYPE
|
| Fields inherited from class blackboard.data.BbObject |
_bbAttributes |
| Constructor Summary | |
Link()
Creates an instance of Link with default property values. |
|
| Method Summary | |
DataType |
getDataType()
Returns the DataType identifier for the given BbObject-derived
object. |
boolean |
getIsAvailable()
Returns the availability flag for this Link. |
Id |
getReferredToId()
Returns the referred to Id associated with this Link
. |
Link.ReferredToType |
getReferredToType()
Returns the referred to type for this Link. |
Id |
getReferrerId()
Returns the referrer Id associated with this Link.
|
Link.ReferrerType |
getReferrerType()
Returns the referrer type for this Link. |
java.lang.String |
getTitle()
Returns the title associated with this Link. |
void |
setIsAvailable(boolean bIsAvailable)
Sets the availability flag for this Link. |
void |
setReferredToId(Id iReferredToId)
Sets the referred to Id value for this Link. |
void |
setReferredToType(Link.ReferredToType eReferredToType)
Sets the referrer type for this Link. |
void |
setReferrerId(Id iReferrerId)
Sets the referrer Id value for this Link. |
void |
setReferrerType(Link.ReferrerType eReferrerType)
Sets the referrer type for this Link. |
void |
setTitle(java.lang.String strTitle)
Sets the title associated with this Link. |
| 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 |
public static final DataType DATA_TYPE
| Constructor Detail |
public Link()
Link with default property values.
| Method Detail |
public java.lang.String getTitle()
Link.
Stringpublic void setTitle(java.lang.String strTitle)
Link.
strTitle - a String containing the title for this linkpublic boolean getIsAvailable()
Link.
getIsAvailable in interface AvailableLink is availablepublic void setIsAvailable(boolean bIsAvailable)
Link.
setIsAvailable in interface AvailablebIsAvailable - true if the link is to be made available, false otherwise.public Id getReferrerId()
Id associated with this Link.
This Id represents the id of the object that is the "starting"
point of the link -- the object that will "contain" this link as a reference
to another object in the system.
Id value for the referrer of this Linkpublic void setReferrerId(Id iReferrerId)
Id value for this Link. This
Id represents the id of the object that is the "starting" point
of the link -- the object that will "contain" this link as a reference to
another object in the system.
iReferrerId - an Id value to use as the referrer id of this
Linkpublic Link.ReferrerType getReferrerType()
Link. This identifies the
"type" of object that will "contain" this link.
Link.ReferrerTypeLink.ReferrerTypepublic void setReferrerType(Link.ReferrerType eReferrerType)
Link. This identifies the
"type" of object that will "contain" this link.
eReferrerType - a valid referrer type value as defined in Link.ReferrerTypeLink.ReferrerTypepublic Id getReferredToId()
Id associated with this Link
. This Id represents the id of the object that is the
"ending" point of the link -- the object that this link "points" to.
Id value for the referred to object of this Linkpublic void setReferredToId(Id iReferredToId)
Id value for this Link. This
Id represents the id of the object that is the "ending" point
of the link -- the object that this link "points" to.
iReferredToId - an Id value to use as the referrer id of this
Linkpublic Link.ReferredToType getReferredToType()
Link. This identifies the
"type" of object that will be "pointed" to (referred to) by this link.
Link.ReferredToTypeLink.ReferredToTypepublic void setReferredToType(Link.ReferredToType eReferredToType)
Link. This identifies the
"type" of object that will be "pointed" to (referred to) by this link.
eReferredToType - a valid referred to type value as defined in Link.ReferredToTypeLink.ReferredToTypepublic DataType getDataType()
DataType identifier for the given BbObject-derived
object. Can be used to uniquely identify the "type" of a data object.
getDataType in interface IBbObjectgetDataType in class BbObjectDataType for current object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||