|
||||||||||
| 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.StringAttribute
public final class StringAttribute
Represents strings used in query/cases. Currently, each StringAttribute object is used once, meaning that it is not referenced when used in several cases. This is because usually one string does not appear more than once.
| Method Summary | |
|---|---|
boolean |
equals(StringAttribute att)
Returns true, if this attribute equals the given attribute. |
java.lang.String |
getValue()
Gets the value of this attribute. |
java.lang.String |
getValueAsString()
Returns a string representation of this attribute's value. |
int |
hashCode()
|
java.lang.String |
toString()
Returns the string representation of this attribute's value. |
| 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 |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getValueAsString()
Attribute
getValueAsString in class Attributepublic boolean equals(StringAttribute att)
att - the attribute to be compared with this.
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||