|
Oracle Ultra Search Java API Reference Release 10g B12028-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
LovInfo is an interface used by both the crawler and a data source agent to set and retrieve attribute list of values (LOV) from the data source.
| Field Summary | |
static int |
ATTR_DATEDate attribute data types |
static int |
ATTR_NUMBERNumber attribute data types |
static int |
ATTR_STRINGString attribute data types |
| Method Summary | |
void |
addAttributeValue(java.lang.String name, java.math.BigDecimal value)Add an attribute value whose type is number |
void |
addAttributeValue(java.lang.String name, java.math.BigDecimal value, java.lang.String displayName, java.lang.String langCode)Add an attribute value and display name whose type is number |
void |
addAttributeValue(java.lang.String name, java.sql.Date value)Add an attribute value whose type is java.sql.Date |
void |
addAttributeValue(java.lang.String name, java.sql.Date value, java.lang.String displayName, java.lang.String langCode)Add an attribute value and display name whose type is java.sql.Date |
void |
addAttributeValue(java.lang.String name, java.lang.String value)Add an attribute value whose type is string |
void |
addAttributeValue(java.lang.String name, java.lang.String value, java.lang.String displayName, java.lang.String langCode)Add an attribute value and display name whose type is String |
void |
clearData()Clear all LOV data |
java.util.Enumeration |
getAttributeLov(int attrIndex)Get the list of values for a specified attribute |
java.lang.String |
getAttributeName(int attrIndex)Get the name of the specified attribute |
int |
getAttributeType(int attrIndex)Get the data type of the specified attribute |
java.util.Enumeration |
getDisplayNames(int attrIndex, int langIndex)Get the list of display names for a specified attribute |
java.lang.String |
getLangCode(int attrIndex, int langIndex)Get the language-country code string for a display name |
int |
getNumAttributes()Get number of attributes |
int |
getNumAttrValues()Get number of attribute values |
int |
getNumDisplayNames(int attrIndex, int langIndex)Get number of display names of an attribute for a language |
int |
getNumLanguages(int attrIndex)Get number of languages used for the display name of an attribute |
| Field Detail |
public static final int ATTR_STRING
public static final int ATTR_NUMBER
public static final int ATTR_DATE
| Method Detail |
public void addAttributeValue(java.lang.String name,
java.math.BigDecimal value)
name - the name of the attributevalue - the value of the attribute
public void addAttributeValue(java.lang.String name,
java.sql.Date value)
name - the name of the attributevalue - the value of the attribute
public void addAttributeValue(java.lang.String name,
java.lang.String value)
name - the name of the attributevalue - the value of the attribute
public void addAttributeValue(java.lang.String name,
java.math.BigDecimal value,
java.lang.String displayName,
java.lang.String langCode)
name - the name of the attributevalue - the value of the attributedisplayName - the display name of the attributelangCode - ISO 639-1 language code and ISO3166 country code, for example "en-US"
public void addAttributeValue(java.lang.String name,
java.sql.Date value,
java.lang.String displayName,
java.lang.String langCode)
name - the name of the attributevalue - the value of the attributedisplayName - the display name of the attributelangCode - ISO 639-1 language code and ISO3166 country code, for example "en-US"
public void addAttributeValue(java.lang.String name,
java.lang.String value,
java.lang.String displayName,
java.lang.String langCode)
name - the name of the attributevalue - the value of the attributedisplayName - the display name of the attributelangCode - ISO 639-1 language code and ISO3166 country code, for example "en-US"public int getNumAttributes()
public int getNumAttrValues()
public java.lang.String getAttributeName(int attrIndex)
attrIndex - 0 based index indicating which attributepublic int getAttributeType(int attrIndex)
attrIndex - 0 based index indicating which attributepublic java.util.Enumeration getAttributeLov(int attrIndex)
attrIndex - 0 based index indicating which attributepublic int getNumLanguages(int attrIndex)
attrIndex - 0 based index indicating which attribute
public java.lang.String getLangCode(int attrIndex,
int langIndex)
attrIndex - 0 based index indicating which attributelangIndex - 0 based index indicating which language
public int getNumDisplayNames(int attrIndex,
int langIndex)
attrIndex - 0 based index indicating which attributelangIndex - 0 based index indicating which language
public java.util.Enumeration getDisplayNames(int attrIndex,
int langIndex)
attrIndex - 0 based index indicating which attributelangIndex - 0 based index indicating which languagepublic void clearData()
|
Oracle Ultra Search Java API Reference Release 10g B12028-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||