|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
de.dfki.mycbr.core.casebase.Attribute
de.dfki.mycbr.core.casebase.SimpleAttribute
de.dfki.mycbr.core.casebase.IntervalAttribute
public final class IntervalAttribute
Represents intervals as values in query/case. Objects of this class should only be created by interval ranges to avoid unnecessary objects.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
Pair<java.lang.Number,java.lang.Number> |
getInterval()
Gets the value of this attribute. |
java.lang.String |
getValueAsString()
Returns a string representation of this attribute's value. |
java.lang.String |
toString()
Returns the string representation of this attribute. |
| Methods inherited from class de.dfki.mycbr.core.casebase.SimpleAttribute |
|---|
getAttributeDesc, getDesc, getExpType, getName, setDesc |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Pair<java.lang.Number,java.lang.Number> getInterval()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getValueAsString()
Attribute
getValueAsString in class Attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||