Esri Geoportal Server
1.0

com.esri.gpt.catalog.schema
Class Sections

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,Section>
              extended by com.esri.gpt.catalog.schema.Sections
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Section>

public class Sections
extends LinkedHashMap<String,Section>

Defines a collection of metadata sections.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
Sections()
          Default constructor.
Sections(Sections objectToDuplicate, Section parent)
          Construct by duplicating an existing object.
 
Method Summary
 void add(Section member)
          Adds a member to the collection.
 void checkExclusiveOpenStatus()
          Checks to ensure that no more than one mutually exclusive section is open.
 List<Parameter> selectParameters(Predicate predicate)
          Selects all parameters conforming to the condiditions defined by predicate.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

Sections

public Sections()
Default constructor.


Sections

public Sections(Sections objectToDuplicate,
                Section parent)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate
parent - the parent section
Method Detail

add

public void add(Section member)
Adds a member to the collection.
The member will not be added if it is null or if it has an empty key.

Parameters:
member - the member to add

checkExclusiveOpenStatus

public void checkExclusiveOpenStatus()
Checks to ensure that no more than one mutually exclusive section is open.


selectParameters

public List<Parameter> selectParameters(Predicate predicate)
Selects all parameters conforming to the condiditions defined by predicate.

Parameters:
predicate - predicate
Returns:
list of selected parameters

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class AbstractMap<String,Section>
Returns:
the string

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.