net.rim.blackberry.api.pdap.contactlinking
Class AbstractLinkableContact
java.lang.Object
net.rim.blackberry.api.pdap.contactlinking.AbstractLinkableContact
- All Implemented Interfaces:
- LinkableContact
- Direct Known Subclasses:
- DefaultLinkableContact
public abstract class AbstractLinkableContact
- extends Object
- implements LinkableContact
Provides default implementations for some of the methods
in the LinkableContact interface.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 5.0.0
|
Method Summary |
|
String |
getString(int key)
Gets the value of the LinkableContact attribute matching the supplied
key. |
|
void |
setString(int key,
String value)
Sets the attribute specified by key to the supplied
String. |
getString
public String getString(int key)
- Gets the value of the
LinkableContact attribute matching the supplied
key.
- Specified by:
getString in interface LinkableContact
- Parameters:
key - The key for the attribute to retrieve.
- Returns:
- The value corresponding to the supplied key or null if no value
has been set.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 5.0.0
setString
public void setString(int key,
String value)
- Sets the attribute specified by
key to the supplied
String.
- Parameters:
key - Identifies the attribute to set.value - The value to set the attribute to.
- Throws:
NullPointerException - if value is null- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 5.0.0
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.