de.dfki.mycbr.core.casebase
Class Attribute

java.lang.Object
  extended by java.util.Observable
      extended by de.dfki.mycbr.core.casebase.Attribute
Direct Known Subclasses:
Instance, MultipleAttribute, SimpleAttribute

public abstract class Attribute
extends java.util.Observable

General abstract class representing values of attribute descriptions in cases or instances. Known subclasses: SimpleAttribute and Instance.

Author:
myCBR Team

Constructor Summary
Attribute()
           
 
Method Summary
abstract  java.lang.String getValueAsString()
          Returns a string representation of this attribute's value.
 
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
 

Constructor Detail

Attribute

public Attribute()
Method Detail

getValueAsString

public abstract java.lang.String getValueAsString()
Returns a string representation of this attribute's value. Mostly used for saving cases to internal XML file.

Returns:
the value of this attribute as string