|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKPredefinedValues
DKPredefinedValues is a class to hold all the mapping value pairs of a search field. Each value pair is represented as a DKNVPair that the Federated Attribute Value is stored as DKNVPair.name and the Native Attribute Value is stored as DKNVPair.value.
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Constructor Summary | |
DKPredefinedValues()
Default constructor with no parameter. |
|
DKPredefinedValues(java.lang.String entName,
java.lang.String attrName)
Constructor with native entity name & native attribute name as parameters. |
|
DKPredefinedValues(java.lang.String entName,
java.lang.String attrName,
java.lang.String serverName)
Constructor with native entity name, native attribute name & server name as parameters. |
Method Summary | |
void |
addValuePair(java.lang.String fedAttrValue,
java.lang.String nativeAttrValue)
Adds the mapping Federated Attribute Value/Native Attribute Value pair to the memory. |
java.lang.String |
getAttrName()
Gets the native attribute name |
java.lang.String |
getEntityName()
Gets the native entity name |
int |
getServerId()
Gets the server id that contain the entity/attribute pair of this object |
java.lang.String |
getServerName()
Gets the server name that contain the entity/attribute pair of this object |
dkCollection |
getValuePairs()
Gets the list of mapping Federated Attribute Value/Native Attribute Value pairs |
void |
removeValuePair(java.lang.String fedAttrValue,
java.lang.String nativeAttrValue)
Remove the mapping Federated Attribute Value/Native Attribute Value pair from the memory. |
void |
setAttrName(java.lang.String attrName)
Sets the native attribute name |
void |
setEntityName(java.lang.String entName)
Sets the native entity name |
void |
setServerId(int serverId)
Sets the server id that contain the entity/attribute pair of this object |
void |
setServerName(java.lang.String serverName)
Sets the server name that contain the entity/attribute pair of this object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKPredefinedValues()
public DKPredefinedValues(java.lang.String entName, java.lang.String attrName)
entName
- native entity nameattrName
- native attribute namepublic DKPredefinedValues(java.lang.String entName, java.lang.String attrName, java.lang.String serverName)
entName
- native entity nameattrName
- native attribute nameserverName
- the server containing above entity/attribute pairMethod Detail |
public java.lang.String getEntityName()
public void setEntityName(java.lang.String entName)
name
- a native entity name to be set to this objectpublic java.lang.String getAttrName()
public void setAttrName(java.lang.String attrName)
name
- a native attribute name to be set to this objectpublic int getServerId()
public void setServerId(int serverId)
serverId
- a server idpublic java.lang.String getServerName()
public void setServerName(java.lang.String serverName)
serverName
- a server namepublic void addValuePair(java.lang.String fedAttrValue, java.lang.String nativeAttrValue)
fedAttrValue
- a Federated Attribute ValuenativeAttrValue
- a Native Attribute Valuepublic void removeValuePair(java.lang.String fedAttrValue, java.lang.String nativeAttrValue)
fedAttrValue
- a Federated Attribute ValuenativeAttrValue
- a Native Attribute Valuepublic dkCollection getValuePairs() throws DKException, java.lang.Exception
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |