com.ibm.pim.interfaces.spec
Interface PrimarySpec

All Superinterfaces:
Spec

public interface PrimarySpec
extends Spec

Read-only interface for the PrimarySpec object


Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface com.ibm.pim.interfaces.spec.Spec
FILE_SPEC, LKP_SPEC, MKT_SPEC, PRIMARY_SPEC, SCRIPT_INPUT_SPEC, SECONDARY_SPEC, SUB_SPEC
 
Method Summary
 SpecNode getPrimaryKeySpecNode()
          Returns the primary key SpecNode for this PrimarySpec
 boolean hasSubSpec()
          Returns true if this primary spec has a subspec
 
Methods inherited from interface com.ibm.pim.interfaces.spec.Spec
getDisplayName, getLocales, getSpecNodeByPath, getSpecNodes, isLocalized
 

Field Detail

copyright

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

getPrimaryKeySpecNode

public SpecNode getPrimaryKeySpecNode()
                               throws PIMInternalException,
                                      PIMAuthorizationException
Returns the primary key SpecNode for this PrimarySpec

Returns:
SpecNode the primary key SpecNode for this LookupSpec
Throws:
PIMInternalException - If an internal error occurs
PIMAuthorizationException - If the user is not allowed to perform this operation

hasSubSpec

public boolean hasSubSpec()
Returns true if this primary spec has a subspec

Returns:
true if subspec is present