|
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.Attribute
An attribute is a key used to refer to some property of a document.
Attribute class is an abstract parent class for different types of attributes. An concrete attribute has a name and a type. The type refers to the type of the attribute values it can be associated with.
Currently the following types are supported: String, Number, Date. Each are implemented in subclasses StringAttribute, NumberAttribute, DateAttribute.
Note: attribute names should be treated case-insensitively. So string attributes named "Author" and "AUTHOR" refer to the same attribute. Nevertheless, Attribute class leaves capitalization of the name unchanged, so getName() always returns the name used in the construction of the object.
Method Summary | |
boolean |
equals(java.lang.Object obj) Indicates whether some other object is "equal to" this one. |
int |
getId() Get the attribute's id |
java.lang.String |
getName() Get the attribute's name |
abstract java.lang.String |
getUniqueName() Get the attribute's unique name. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getId()
public java.lang.String getName()
public abstract java.lang.String getUniqueName()
public boolean equals(java.lang.Object obj)
|
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 |