de.dfki.mycbr.core.explanation
Class ConceptExplanation

java.lang.Object
  extended by java.util.Observable
      extended by de.dfki.mycbr.core.explanation.ConceptExplanation

public class ConceptExplanation
extends java.util.Observable

Concept explanations further explain any kind of concept using a textual description and links related to that concept.


Method Summary
 void addLink(java.lang.String link)
          Add a new link to the links for this explanation.
 java.lang.String getDescription()
          Get the value of description.
 IExplainable getExplainable()
           
 java.util.HashSet<java.lang.String> getLinks()
          Get the value of links.
 void removeLink(java.lang.String link)
          Removes the given link from the list of links for this explanation.
 void setDescription(java.lang.String newVar)
          Set the value of description.
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExplainable

public final IExplainable getExplainable()
Returns:
the object which is explained by this

setDescription

public final void setDescription(java.lang.String newVar)
Set the value of description.

Parameters:
newVar - the new value of description

getDescription

public final java.lang.String getDescription()
Get the value of description.

Returns:
the value of description

addLink

public final void addLink(java.lang.String link)
Add a new link to the links for this explanation.

Parameters:
link - the new link to be added

removeLink

public final void removeLink(java.lang.String link)
Removes the given link from the list of links for this explanation.

Parameters:
link - the link to be removed from the list of known links

getLinks

public final java.util.HashSet<java.lang.String> getLinks()
Get the value of links.

Returns:
the value of links