webmngr.web
Class Atlas

java.lang.Object
  |
  +--webmngr.web.Atlas

public class Atlas
extends java.lang.Object

An Atlas is a set of NavigationMaps

Since:
24/07/2000 Modificado por Alexandre Nóbrega Duarte
Author:
Ayla Débora Dantas de Souza (ayla@dsc.ufpb.br),
Rodrigo Rebouças de Almeida (rodrigor@dsc.ufpb.br)

Constructor Summary
Atlas()
          Default Constructor
 
Method Summary
 void addMap(NetMap map)
          Adds a new map to this atlas
 boolean contains(java.lang.String id)
          Sees if this atlas contains an specific map
 java.lang.String getDescription()
          Gets this atlas description
 java.lang.String getID()
          Returns this atlas id
 NavigationMap getMap(java.lang.String id)
          Gets an specific map from this atlas
 java.util.Iterator getMapIDs()
          Gets the ids of this atlas maps
 java.lang.String getTitle()
          Gets this atlas title
 void refresh()
           
 void setDescription(java.lang.String desc)
          Sets a description for this atlas
 void setID(java.lang.String id)
          Sets this atlas id
 void setTitle(java.lang.String title)
          Sets this atlas title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Atlas

public Atlas()
Default Constructor
Method Detail

setTitle

public void setTitle(java.lang.String title)
Sets this atlas title
Parameters:
title - this atlas name

getTitle

public java.lang.String getTitle()
Gets this atlas title
Parameters:
string - representing this atlas

setDescription

public void setDescription(java.lang.String desc)
Sets a description for this atlas
Parameters:
desc - description of this atlas

getDescription

public java.lang.String getDescription()
Gets this atlas description
Returns:
this atlas description

setID

public void setID(java.lang.String id)
Sets this atlas id
Parameters:
id - string used to identify this atlas

getID

public java.lang.String getID()
Returns this atlas id
Returns:
this atlas id

addMap

public void addMap(NetMap map)
Adds a new map to this atlas
Parameters:
map - NetMap to be added

getMap

public NavigationMap getMap(java.lang.String id)
Gets an specific map from this atlas
Parameters:
id - the id of the wanted map

contains

public boolean contains(java.lang.String id)
Sees if this atlas contains an specific map
Parameters:
id - the id of the wanted map

getMapIDs

public java.util.Iterator getMapIDs()
Gets the ids of this atlas maps
Returns:
an Iterator with all the ids of this atlas maps

refresh

public void refresh()