com.ibm.pim.spec
Interface LookupSpec

All Superinterfaces:
Spec

public interface LookupSpec
extends Spec

Interface for the LookupSpec object

Since:
6.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ibm.pim.spec.Spec
Spec.Type
 
Field Summary
static java.lang.String copyright
           
 
Method Summary
 AttributeDefinition getPrimaryKeyAttributeDefinition()
          Returns the primary key AttributeDefinition for this LookupSpec
 AttributeDefinition setPrimaryKey(java.lang.String attributePath)
          Sets the primaryKeyPath of this spec to the given path.
 
Methods inherited from interface com.ibm.pim.spec.Spec
addLocale, createAttributeDefinition, delete, getAttributeDefinition, getAttributeDefinitions, getLocales, getName, getRootAttributeDefinition, getType, isLocalized, removeAttributeDefinition, removeLocale, replaceLocales, save, setLocalized
 

Field Detail

copyright

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

getPrimaryKeyAttributeDefinition

AttributeDefinition getPrimaryKeyAttributeDefinition()
Returns the primary key AttributeDefinition for this LookupSpec

Returns:
AttributeDefinition the primary key AttributeDefinition for this LookupSpec
Throws:
PIMInternalException - If an internal error occurs
PIMAuthorizationException - Reserved for future use

setPrimaryKey

AttributeDefinition setPrimaryKey(java.lang.String attributePath)
Sets the primaryKeyPath of this spec to the given path. Returns null if no AttributeDefinition is found for the given path.

Parameters:
attributePath - value for the path
Returns:
AttributeDefinition AttributeDefinition corresponding to the primary key
Throws:
PIMInternalException - If an internal error occurs
PIMAuthorizationException - Reserved for future use