|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.navigation.Property
public class Property
Class representing a name/value Endeca property pair.
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this object to other Property o. |
boolean |
equals(Object o)
Compares the specified object with this for equality. |
Object |
getKey()
Gets the name of the property. |
Object |
getValue()
Gets the value of the property. |
int |
hashCode()
Generates the hash code for this object. |
Object |
setValue(Object value)
Unsupported method for Map.Entry interface compatibility. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Object getKey()
String.
getKey in interface Map.Entrypublic Object getValue()
String.
getValue in interface Map.Entrypublic Object setValue(Object value)
UnsupportedOperationException
setValue in interface Map.EntryUnsupportedOperationException - If this method is called.public boolean equals(Object o)
equals in interface Map.Entryequals in class Objecttrue if the object can be cast as a
Map.Entry and has the same key and value and
false if not.public int hashCode()
hashCode in interface Map.EntryhashCode in class Objectpublic int compareTo(Object o)
Property o.
Casts o as Property and returns
a negative int if this is less than o, zero
if they are the same, and a positive int if this is greater
than o. This method is implemented so as
to support the comparable interface so that this class
can be used in Abstract classes such as TreeMap.
compareTo in interface ComparableClassCastException - If o can't be
cast as a Property.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||