edu.nrao.sss.webapp.faces.conf
Class SelectorConfiguration.RegionMap

java.lang.Object
  extended by edu.nrao.sss.webapp.faces.conf.SelectorConfiguration.RegionMap
Enclosing class:
SelectorConfiguration

public static class SelectorConfiguration.RegionMap
extends Object


Constructor Summary
SelectorConfiguration.RegionMap()
           
 
Method Summary
 void addRegion(SelectorConfiguration.Region r)
          adds r to our region list
 String getName()
           
 List<SelectorConfiguration.Region> getRegions()
           
 SelectorConfiguration.Region removeRegion(int index)
          Removes the region at index from the list and returns it.
 boolean removeRegion(SelectorConfiguration.Region r)
          Removes r from the list.
 void setName(String n)
          Sets the name of this RegionMap.
 void setRegions(List<SelectorConfiguration.Region> list)
          sets the Regions held in this RegionMap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectorConfiguration.RegionMap

public SelectorConfiguration.RegionMap()
Method Detail

getName

public String getName()
Returns:
the name of this RegionMap. This should never return null.

setName

public void setName(String n)
Sets the name of this RegionMap. If n is null, the name is set to the empty string.


getRegions

public List<SelectorConfiguration.Region> getRegions()
Returns:
The Regions held in this RegionMap. This should never return null.

setRegions

public void setRegions(List<SelectorConfiguration.Region> list)
sets the Regions held in this RegionMap. If the list is null, the regions list is set to an empty List.


addRegion

public void addRegion(SelectorConfiguration.Region r)
adds r to our region list


removeRegion

public boolean removeRegion(SelectorConfiguration.Region r)
Removes r from the list.

Returns:
true if an element was actually removed.

removeRegion

public SelectorConfiguration.Region removeRegion(int index)
Removes the region at index from the list and returns it.



Copyright © 2009. All Rights Reserved.