ArcGIS Server Geoportal extension
10

com.esri.gpt.catalog.schema
Class Parameters

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

public class Parameters
extends LinkedHashMap<String,Parameter>

Defines a collection of metadata parameters.

See Also:
Serialized Form

Constructor Summary
Parameters()
          Default constructor.
Parameters(Parameters objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 void add(Parameter member)
          Adds a member to the collection.
 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

Parameters

public Parameters()
Default constructor.


Parameters

public Parameters(Parameters objectToDuplicate)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

add

public void add(Parameter 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

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
Since:
10.0

toString

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

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

ArcGIS Server Geoportal extension
10

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