net.artima.place
Interface ModifiableLinkMap

All Superinterfaces:
LinkMap, java.io.Serializable

public interface ModifiableLinkMap
extends LinkMap

Represents a modifiable map of links to resources on the network.


Method Summary
 void clear()
          Removes all mapping from this LinkMap.
 LinkItem put(java.lang.Object key, LinkItem value)
          Associates the specified value with the specified key in this LinkMap.
 void putAll(LinkMap map)
          Copies all of the mappings from the specified LinkMap to this LinkMap.
 LinkItem remove(java.lang.Object key)
          Removes the mapping for this key from this LinkMap if present
 LinkItem update(java.lang.Object key, ResourceInfo resourceInfo)
          Associates the specified ResourceInfo with the Link that is associated with the specified key in this LinkMap.
 
Methods inherited from interface net.artima.place.LinkMap
containsKey, containsValue, get, isEmpty, keySet, size, values
 

Method Detail

clear

public void clear()
           throws java.rmi.RemoteException
Removes all mapping from this LinkMap.

put

public LinkItem put(java.lang.Object key,
                    LinkItem value)
             throws java.rmi.RemoteException
Associates the specified value with the specified key in this LinkMap.

update

public LinkItem update(java.lang.Object key,
                       ResourceInfo resourceInfo)
                throws java.rmi.RemoteException
Associates the specified ResourceInfo with the Link that is associated with the specified key in this LinkMap.

putAll

public void putAll(LinkMap map)
            throws java.rmi.RemoteException
Copies all of the mappings from the specified LinkMap to this LinkMap.

remove

public LinkItem remove(java.lang.Object key)
                throws java.rmi.RemoteException
Removes the mapping for this key from this LinkMap if present