|
Oracle Ultra Search Java API Reference 9.0.3 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ultrasearch.query.AttributeLOV
A list of values (LOV) for an attribute.
The values in this list are valid values for attribute queries. For example, for a StringAttribute named Dept, a reasonable LOV may be: Accounting, Research, Sales, Operations. Values are useful in assisting users in formulating a query. But the presence of a value in this list does not necessarily mean any document actually have this values for its attribute.
In addition, this class keeps an optional display name for each value. This is useful in case the attribute has encoded values, such as department number, or country code that are not suitable for direct output.
Method Summary | |
Attribute |
getAttribute() Get the attribute associated with this LOV. |
java.lang.String |
getDisplayName(java.lang.Object val) Get the display name for a value. |
java.util.Collection |
getDisplayNames(java.lang.Object val) Get all the display names for a value. |
java.util.Collection |
getValues() Get the values in this LOV. |
int |
size() Get the number of values in this LOV. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Attribute getAttribute()
public int size()
public java.util.Collection getValues()
public java.lang.String getDisplayName(java.lang.Object val)
public java.util.Collection getDisplayNames(java.lang.Object val)
|
Oracle Ultra Search Java API Reference 9.0.3 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |