com.partnersoft.maps.model
Class MapDataLink

java.lang.Object
  extended by com.partnersoft.maps.model.MapDataLink

public class MapDataLink
extends java.lang.Object

A link to a (possibly lazy-loaded) MapDataItem.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

Constructor Summary
MapDataLink()
           
MapDataLink(RoverSet roverSet, int itemID)
           
 
Method Summary
 boolean equals(java.lang.Object nother)
           
 MapDataItem getItem()
          Convenience method to retrieve the referenced item.
 int getItemID()
          Gets the value of itemID
 RoverSet getRoverSet()
          Gets the value of roverSet
 void setItemID(int argItemID)
          Sets the value of itemID
 void setRoverSet(RoverSet argRoverSet)
          Sets the value of roverSet
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapDataLink

public MapDataLink()

MapDataLink

public MapDataLink(RoverSet roverSet,
                   int itemID)
Method Detail

getItem

public MapDataItem getItem()
Convenience method to retrieve the referenced item.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object nother)
Overrides:
equals in class java.lang.Object

getRoverSet

public RoverSet getRoverSet()
Gets the value of roverSet

Returns:
the value of roverSet

setRoverSet

public void setRoverSet(RoverSet argRoverSet)
Sets the value of roverSet

Parameters:
argRoverSet - Value to assign to this.roverSet

getItemID

public int getItemID()
Gets the value of itemID

Returns:
the value of itemID

setItemID

public void setItemID(int argItemID)
Sets the value of itemID

Parameters:
argItemID - Value to assign to this.itemID