org.eclipse.higgins.cardstore.schemas._2005._05.identity.impl
Class RoamingStore
java.lang.Object
org.eclipse.higgins.cardstore.schemas._2005._05.identity.impl.RoamingStore
- All Implemented Interfaces:
- IRoamingStore, XMLSerializer
- public class RoamingStore
- extends Object
- implements IRoamingStore
copyright
public static String copyright
RoamingStore
public RoamingStore()
getParent
public Object getParent()
- Specified by:
getParent in interface XMLSerializer
setParent
public void setParent(Object parentNode)
- Specified by:
setParent in interface XMLSerializer
getRoamingInformationCardByCardId
public IRoamingInformationCard getRoamingInformationCardByCardId(String id)
- Description copied from interface:
IRoamingStore
- This method will return the specific
- Specified by:
getRoamingInformationCardByCardId in interface IRoamingStore
- Parameters:
id -
- Returns:
getRoamingInformationCards
public IRoamingInformationCard[] getRoamingInformationCards()
- Description copied from interface:
IRoamingStore
- Returns a list of all the roaming information cards in the order
they are stored.
- Specified by:
getRoamingInformationCards in interface IRoamingStore
- Returns:
- an array of
IRoamingInformationCard.
fromXml
public void fromXml(Object obj)
throws UnsupportedObjectModel,
ExpectedObjectNotPresent
- Specified by:
fromXml in interface XMLSerializer
- Throws:
UnsupportedObjectModel
ExpectedObjectNotPresent
toXml
public Object toXml()
- Specified by:
toXml in interface XMLSerializer
addRoamingInformationCard
public void addRoamingInformationCard(IRoamingInformationCard card)
throws DuplicateCardIdException
- Description copied from interface:
IRoamingStore
- Use this method to add information cards to the store. There can't be two cards
with the same card id added to that store.
- Specified by:
addRoamingInformationCard in interface IRoamingStore
- Parameters:
card -
- Returns:
- if added successfully
- Throws:
DuplicateCardIdException
removeRoamingInformationCardByCardId
public IRoamingInformationCard removeRoamingInformationCardByCardId(String id)
- Description copied from interface:
IRoamingStore
- Use this method to remove information cards from the store by their corresponding id. If successfully
removed the removed card is returned. If null is returned then there was no card by the given id in the store.
- Specified by:
removeRoamingInformationCardByCardId in interface IRoamingStore
- Parameters:
id -
- Returns:
- the removed card.