com.ibm.pim.interfaces.lookuptable
Interface LookupTableEntry


public interface LookupTableEntry

Read-only interface for an entry within a LookupTable


Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String path)
          Get an attribute from this LookupTableEntry You cannot retrieve Grouping SpecNodes or values for the Primary Key attribute in this way.
 java.lang.String getKey()
          Returns the key that for the item values in this LookupTableEntry
 java.lang.String[] getValues()
          Returns the item values in this LookupTableEntry
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

getKey

public java.lang.String getKey()
Returns the key that for the item values in this LookupTableEntry

Returns:
the key for the item values in this LookupTableEntry

getValues

public java.lang.String[] getValues()
Returns the item values in this LookupTableEntry

Returns:
Returns a String array containing the item values in this LookupTableEntry

getAttribute

public java.lang.Object getAttribute(java.lang.String path)
                              throws PIMInternalException,
                                     PIMAuthorizationException
Get an attribute from this LookupTableEntry You cannot retrieve Grouping SpecNodes or values for the Primary Key attribute in this way. Multi-occurrence attributes will be returned as an ArrayList of occurrences. You can determine whether a particular attributes will be single or plural by calling #getAttributeOccurrenceCount(). To retrieve the value of the Primary Key attribute use getKey() instead

Parameters:
path -
Returns:
The attribute as a Java Object. The type of that Object corresponds to PIM SpecNode data types as follows XXX Make this into a proper table later PIM type Java type -------- --------- Binary byte[] Currency Double Date Date Flag Boolean Image byte[] Image URL String Integer Integer Number Double Number Enumeration Integer[] Password ? Relationship String Sequence Integer (integer from sequence actually assigned) String String String Enumeration String[] Thumbnail Image byte[] Thumbnail Image URL String Timezone String URL String It is left to the caller to cast the returned Object to the appropriate type.
Throws:
PIMInternalException - If there is an internal WPC problem
PIMAuthorizationException - If the user is not allowed to perform this operation