|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface represents set of key mappings for different remote systems. Such set can define either record key mappings or attribute key mappings
RecordKeyMapping,
AttributeKeyMapping| Method Summary | |
void |
addKey(RemoteSystemId remoteSystem,
String key)
Add key to the key mapping with the specified remote system. |
void |
addKeyMapping(KeyMapping keyMapping)
Add a new key mapping |
Object |
clone()
Returns a clone. |
boolean |
containsKey(RemoteSystemId remoteSystem,
String key)
Check if the specified key is contained in the key mapping with the specified remote system |
boolean |
containsKeyMapping(RemoteSystemId remoteSystem)
Check if this set contains key mapping for the specified remote system |
int |
getCount()
Get number of key mappings for different remote systems |
KeyMapping |
getKeyMapping(RemoteSystemId remoteSystem)
Get key mapping for the specified remote system |
KeyMapping[] |
getKeyMappings()
Get all key mappings in the set |
RemoteSystemId[] |
getRemoteSystems()
Get IDs for all remote systems included in this set |
boolean |
isCompleteSet()
Specify if this set of key mappings is complete set that user wants to see in repository. |
void |
removeKey(RemoteSystemId remoteSystem,
String key)
Remove key from the key mapping with the specified remote system |
KeyMapping |
removeKeyMapping(RemoteSystemId remoteSystem)
Remove the specified key mapping |
void |
setCompleteSet(boolean isCompleteSet)
Define if this set of key mappings is complete set that user wants to see in repository. |
void |
setDefaultKey(RemoteSystemId remoteSystem,
String defaultKey)
Set key as default in the key mapping with the specified remote system |
| Method Detail |
public int getCount()
public KeyMapping[] getKeyMappings()
KeyMapping instancespublic RemoteSystemId[] getRemoteSystems()
public KeyMapping getKeyMapping(RemoteSystemId remoteSystem)
remoteSystem - remote system ID
public boolean containsKeyMapping(RemoteSystemId remoteSystem)
remoteSystem - remote system ID
public void addKeyMapping(KeyMapping keyMapping)
throws IllegalArgumentException
keyMapping - a new key mapping
IllegalArgumentException - if key mapping with the same remote system already exist in this set
public KeyMapping removeKeyMapping(RemoteSystemId remoteSystem)
throws IllegalArgumentException
remoteSystem - ID of remote system
IllegalArgumentException - if key mapping does not belong to this set
public void addKey(RemoteSystemId remoteSystem,
String key)
remoteSystem - remote system IDkey - a new key
public void removeKey(RemoteSystemId remoteSystem,
String key)
throws IllegalArgumentException
remoteSystem - remote system IDkey - the key to remove
IllegalArgumentException - if key mapping with the specified remote system does not
exist in the set or if the key does not belongs to the key mapping
public void setDefaultKey(RemoteSystemId remoteSystem,
String defaultKey)
throws IllegalArgumentException
remoteSystem - remote system IDdefaultKey - default key
IllegalArgumentException - if key mapping with the specified remote system does not
exist in the set or if the default key does not belongs to the key mapping
public boolean containsKey(RemoteSystemId remoteSystem,
String key)
throws IllegalArgumentException
remoteSystem - remote system IDkey - key to check
true if the key is found, otherwise false
IllegalArgumentException - if key mapping with the specified remote system does not
exist in the setpublic boolean isCompleteSet()
public void setCompleteSet(boolean isCompleteSet)
isCompleteSet - true if set is complete, false if only differential changes will be used for modificationpublic Object clone()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.