org.deegree_impl.clients.wcasclient.model
Class MetadataList

java.lang.Object
  extended byorg.deegree_impl.clients.wcasclient.model.ModelList
      extended byorg.deegree_impl.clients.wcasclient.model.MetadataList

public class MetadataList
extends ModelList

Version:
$Revision: 1.2 $
Author:
Andreas Poth

Nested Class Summary
protected  class MetadataList.BMComparatorImpl
           
 
Nested classes inherited from class org.deegree_impl.clients.wcasclient.model.ModelList
ModelList.ComparatorImpl
 
Field Summary
protected  GM_Envelope bbox
           
protected  java.lang.String catalog
           
 
Fields inherited from class org.deegree_impl.clients.wcasclient.model.ModelList
list
 
Constructor Summary
MetadataList(GM_Envelope bbox, java.lang.String catalog)
          Creates a new instance of EntryList
MetadataList(GM_Envelope bbox, java.lang.String catalog, int initialSize)
          Creates a new CatalogEntryList object with an initial size
 
Method Summary
 void addEntry(BaseMetadata entry)
          adds an entry (MD_Metadata) to the list
 BaseMetadata[] getAll()
          returns all base MD_Metadata objects
 BaseMetadata[] getAllSortedByName()
          returns all base MD_Metadata objects sorted by their names
 GM_Envelope getBoundingBox()
          returns the boundingbox that had limited the spatial extent of the request the list bases on
 java.lang.String getCatalog()
          returns the name of the catalog the list of MD_Metadata objects came from
 BaseMetadata getMetadataEntry(java.lang.String fileIdentifier)
          returns an entry (MD_Metadata object) identified by the passed fileIdentifier
 BaseMetadata removeMetadataEntry(java.lang.String fileIdentifier)
          removes an entry identified by its fileIdentifier from the list
 
Methods inherited from class org.deegree_impl.clients.wcasclient.model.ModelList
clear, getAll, getAllSortedByName, getEntry, removeEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bbox

protected GM_Envelope bbox

catalog

protected java.lang.String catalog
Constructor Detail

MetadataList

public MetadataList(GM_Envelope bbox,
                    java.lang.String catalog)
Creates a new instance of EntryList

Parameters:
bbox - boundingbox that had limited the spatial extent of the request the list bases on
catalog - name of the catalog the list of MD_Metadata objects came from

MetadataList

public MetadataList(GM_Envelope bbox,
                    java.lang.String catalog,
                    int initialSize)
Creates a new CatalogEntryList object with an initial size

Parameters:
initialSize -
bbox - boundingbox that had limited the spatial extent of the request the list bases on
catalog - name of the catalog the list of MD_Metadata objects came from
Method Detail

addEntry

public void addEntry(BaseMetadata entry)
adds an entry (MD_Metadata) to the list

Overrides:
addEntry in class ModelList
Parameters:
entry - a base MD_Metadata description

getMetadataEntry

public BaseMetadata getMetadataEntry(java.lang.String fileIdentifier)
returns an entry (MD_Metadata object) identified by the passed fileIdentifier

Parameters:
fileIdentifier -
Returns:
base MD_Metadata object

getAll

public BaseMetadata[] getAll()
returns all base MD_Metadata objects

Returns:
all base MD_Metadata objects

getAllSortedByName

public BaseMetadata[] getAllSortedByName()
returns all base MD_Metadata objects sorted by their names

Returns:

removeMetadataEntry

public BaseMetadata removeMetadataEntry(java.lang.String fileIdentifier)
removes an entry identified by its fileIdentifier from the list

Parameters:
fileIdentifier -
Returns:

getCatalog

public java.lang.String getCatalog()
returns the name of the catalog the list of MD_Metadata objects came from

Returns:
name of the catalog the list of MD_Metadata objects came from

getBoundingBox

public GM_Envelope getBoundingBox()
returns the boundingbox that had limited the spatial extent of the request the list bases on

Returns:
boundingbox that had limited the spatial extent of the request the list bases on