ArcGIS Server Geoportal extension
10

com.esri.gpt.control.csw.inbound202
Class ElementSet

java.lang.Object
  extended by com.esri.gpt.control.csw.inbound202.ElementSet

public class ElementSet
extends Object

Defines the element set associated with a response.

If this set hasElementNames(), the named elements should be used to construct the response, otherwise the elementSetType should be used to construct the response.

By default the element set name is instantiated with:

  • an empty elementNames set
  • an ElementSetType.summary element set type
  • an empty elementSetTypeNames property

  • Nested Class Summary
    static class ElementSet.ElementSetType
              Enumeration of predefined element set types - "brief", "summary", "full"
     
    Constructor Summary
    ElementSet()
              Default constructor.
     
    Method Summary
     void echo(StringBuffer sb)
              Appends property information for the component to a StringBuffer.
     StringSet getElementNames()
              Gets the set of element names.
     ElementSet.ElementSetType getElementSetType()
              Gets the element set type.
     String getElementSetTypeNames()
              Gets the type names associated with an element set type.
     boolean hasElementNames()
              Determines if element names have been supplied.
     void setElementNames(StringSet elementNames)
              Sets the set of element names.
     void setElementSetType(ElementSet.ElementSetType elementSetType)
              Sets the element set type.
     void setElementSetTypeNames(String value)
              Sets the type names associated with an element set type.
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    ElementSet

    public ElementSet()
    Default constructor.

    Method Detail

    getElementNames

    public StringSet getElementNames()
    Gets the set of element names.

    Returns:
    the set of element names

    setElementNames

    public void setElementNames(StringSet elementNames)
    Sets the set of element names.

    Parameters:
    elementNames - the set of element names

    getElementSetType

    public ElementSet.ElementSetType getElementSetType()
    Gets the element set type.

    Returns:
    the element set type

    setElementSetType

    public void setElementSetType(ElementSet.ElementSetType elementSetType)
    Sets the element set type.

    Parameters:
    elementSetType - the element set type

    getElementSetTypeNames

    public String getElementSetTypeNames()
    Gets the type names associated with an element set type.
    xs:list based (delimited by white space, or double quotes)

    Returns:
    the element set type names

    setElementSetTypeNames

    public void setElementSetTypeNames(String value)
    Sets the type names associated with an element set type.
    xs:list based (delimited by white space, or double quotes)
    The value will be trimmed, a null value is treated as an empty string.

    Parameters:
    value - the element set type names

    hasElementNames

    public boolean hasElementNames()
    Determines if element names have been supplied.

    Returns:
    true if element names have been supplied

    echo

    public void echo(StringBuffer sb)
    Appends property information for the component to a StringBuffer.
    The method is intended to support "FINEST" logging.

    Parameters:
    sb - the StringBuffer to use when appending information

    ArcGIS Server Geoportal extension
    10

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