Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


oracle.idm.provisioning.configuration
Class AttrLOV

java.lang.Object
  extended byoracle.idm.provisioning.configuration.AttrLOV


public class AttrLOV
extends java.lang.Object

This class represents LOVs(list of values) of an attribute. The attribute can be either be base attribute or an application specific attribute. Each entry in LOV is assumed to have a real value. The real value corresponds to multiple display values with one display value for one specified langauage. This class also provides support for obtaining language(Locale) specific display value of LOV entries.


Field Summary
static int DYNAMICLOV
static int STATICLOV

Method Summary
java.lang.String getDisplayVal(java.lang.String realval)
This methods returns "default" display value corresponding to the real value.
java.lang.String getDisplayVal(java.lang.String realval, java.util.Locale locale)
This methods returns "language specific" display value corresponding to the real value.
int getLOVType()
This methods returns one of the followings STATICLOV - LOV supports external representation for UI displayname and related value for setting the internal value of the attribute DYNAMICLOV - LOV uses the value as display and internal setting
java.lang.String[] getRealVals()
This methods returns array of all real values.
int getSize()
Returns LOV size.
java.util.List getSortedDisplayRealPairs(java.util.Locale locale)
This methods returns List of all Display-real value pairs present in this object.
java.lang.String toString()

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

STATICLOV

public static int STATICLOV

DYNAMICLOV

public static int DYNAMICLOV

Method Detail

getSize

public int getSize()
Returns LOV size.

getDisplayVal

public java.lang.String getDisplayVal(java.lang.String realval)
This methods returns "default" display value corresponding to the real value.
Parameters:
realval - real value

getDisplayVal

public java.lang.String getDisplayVal(java.lang.String realval,
                                      java.util.Locale locale)
This methods returns "language specific" display value corresponding to the real value.
Parameters:
realval - real value
locale - locale specifying the language

getRealVals

public java.lang.String[] getRealVals()
This methods returns array of all real values.

getSortedDisplayRealPairs

public java.util.List getSortedDisplayRealPairs(java.util.Locale locale)
This methods returns List of all Display-real value pairs present in this object. The Display values are specific to langauage specfied by locale. Each element in List is a String array with first and second element being display and real values respectively. The List is sorted(ignore case) on display values.
Parameters:
locale - locale specifying the language

getLOVType

public int getLOVType()
This methods returns one of the followings STATICLOV - LOV supports external representation for UI displayname and related value for setting the internal value of the attribute DYNAMICLOV - LOV uses the value as display and internal setting

toString

public java.lang.String toString()

Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


Copyright © 2005, Oracle. All Rights Reserved.