org.eclipse.higgins.cardstore.schemas._2005._05.identity.impl
Class RoamingStore

java.lang.Object
  extended by org.eclipse.higgins.cardstore.schemas._2005._05.identity.impl.RoamingStore
All Implemented Interfaces:
IRoamingStore, XMLSerializer

public class RoamingStore
extends Object
implements IRoamingStore


Field Summary
static String copyright
           
 
Constructor Summary
RoamingStore()
           
 
Method Summary
 void addRoamingInformationCard(IRoamingInformationCard card)
          Use this method to add information cards to the store.
 void fromXml(Object obj)
           
 Object getParent()
           
 IRoamingInformationCard getRoamingInformationCardByCardId(String id)
          This method will return the specific
 IRoamingInformationCard[] getRoamingInformationCards()
          Returns a list of all the roaming information cards in the order they are stored.
 IRoamingInformationCard removeRoamingInformationCardByCardId(String id)
          Use this method to remove information cards from the store by their corresponding id.
 void setParent(Object parentNode)
           
 Object toXml()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

RoamingStore

public RoamingStore()
Method Detail

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
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
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
Returns:
the removed card.