org.deegree_impl.services.gazetteer
Class SI_LocationInstance_Impl

java.lang.Object
  extended byorg.deegree_impl.model.feature.Feature_Impl
      extended byorg.deegree_impl.services.gazetteer.SI_LocationInstance_Impl
All Implemented Interfaces:
Feature, java.io.Serializable, SI_LocationInstance

public class SI_LocationInstance_Impl
extends Feature_Impl
implements SI_LocationInstance

Since:
1.1
Version:
$Revision: 1.9 $, 1.0. $Revision: 1.9 $, $Date: 2004/04/07 06:43:49 $
Author:
Axel Schaefer, Andreas Poth, last edited by: $Author: poth $
See Also:
Serialized Form

Field Summary
private static FeatureProperty[] fp
           
private static FeatureType ft
           
 
Fields inherited from class org.deegree_impl.model.feature.Feature_Impl
envelope, featureType, geoProps, id, properties, propRef
 
Constructor Summary
(package private) SI_LocationInstance_Impl(java.lang.String geographicIdentifier, java.lang.String alternativeGeographicIdentifier, java.lang.String identifier, java.util.Date begin, java.util.Date end, GM_Point[] position, GM_Object[] geographicExtent, CitedResponsibleParty administrator, SI_LocationInstance[] parents, SI_LocationInstance[] child, SI_LocationType locationType)
          Creates a new SI_LocationInstance_Impl object.
 
Method Summary
 void addChildren(SI_LocationInstance child)
           
 void addGeographicExtent(GM_Object geographicExtent)
           
 void addParents(SI_LocationInstance parent)
           
 void addPosition(GM_Point position)
           
 CitedResponsibleParty getAdministrator()
           
 java.lang.String getAlternativeGeographicIdentifier()
          equivalent to RT in a thesaurus.
 java.util.Date getBegin()
          for the TemporalExtent
 SI_LocationInstance[] getChildren()
           
 java.util.Date getEnd()
          for the TemporalExtent
 GM_Object[] getGeographicExtent()
           
 java.lang.String getGeographicIdentifier()
           
 java.lang.String getIdentifier()
          returns a unique identifier for a location instance
 SI_LocationType getLocationType()
           
 SI_LocationInstance[] getParents()
           
 GM_Point[] getPosition()
          TDB - should we support optional multiple bounding boxes or a single one?
 java.net.URL getSourceFeature()
          returns an URL containing a request against a WFS returning the feature that is the source of this SI_LocationInstance
private static FeatureProperty[] initLIFeatureProperties()
           
private static FeatureType initLIFeatureType()
           
 void setAdministrator(CitedResponsibleParty administrator)
           
 void setAlternativeGeographicIdentifier(java.lang.String name)
           
 void setBegin(java.util.Date begin)
           
 void setChildren(SI_LocationInstance[] children)
           
 void setEnd(java.util.Date end)
           
 void setGeographicExtent(GM_Object[] geographicExtent)
           
 void setGeographicIdentifier(java.lang.String geographicIdentifier)
           
 void setIdentifier(java.lang.String identifier)
          sets a unique identifier for a location instance
 void setLocationType(SI_LocationType type)
           
 void setParents(SI_LocationInstance[] parents)
           
 void setPosition(GM_Point[] position)
           
 void setSourceFeature(java.net.URL sourceFeature)
           
 
Methods inherited from class org.deegree_impl.model.feature.Feature_Impl
getDefaultGeometryProperty, getEnvelope, getFeatureType, getGeometryProperties, getId, getProperties, getProperty, getProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ft

private static FeatureType ft

fp

private static FeatureProperty[] fp
Constructor Detail

SI_LocationInstance_Impl

SI_LocationInstance_Impl(java.lang.String geographicIdentifier,
                         java.lang.String alternativeGeographicIdentifier,
                         java.lang.String identifier,
                         java.util.Date begin,
                         java.util.Date end,
                         GM_Point[] position,
                         GM_Object[] geographicExtent,
                         CitedResponsibleParty administrator,
                         SI_LocationInstance[] parents,
                         SI_LocationInstance[] child,
                         SI_LocationType locationType)
Creates a new SI_LocationInstance_Impl object.

Parameters:
geographicIdentifier -
alternativeGeographicIdentifier -
begin -
end -
position -
geographicExtent -
administrator -
parents -
child -
locationType -
Method Detail

getAlternativeGeographicIdentifier

public java.lang.String getAlternativeGeographicIdentifier()
Description copied from interface: SI_LocationInstance
equivalent to RT in a thesaurus.

Specified by:
getAlternativeGeographicIdentifier in interface SI_LocationInstance
Returns:

setAlternativeGeographicIdentifier

public void setAlternativeGeographicIdentifier(java.lang.String name)
Parameters:
name -

getIdentifier

public java.lang.String getIdentifier()
returns a unique identifier for a location instance

Specified by:
getIdentifier in interface SI_LocationInstance

setIdentifier

public void setIdentifier(java.lang.String identifier)
sets a unique identifier for a location instance

Parameters:
identifier -

getBegin

public java.util.Date getBegin()
Description copied from interface: SI_LocationInstance
for the TemporalExtent

Specified by:
getBegin in interface SI_LocationInstance
Returns:

setBegin

public void setBegin(java.util.Date begin)
Parameters:
begin -

getChildren

public SI_LocationInstance[] getChildren()
Specified by:
getChildren in interface SI_LocationInstance
Returns:

addChildren

public void addChildren(SI_LocationInstance child)
Parameters:
child -

setChildren

public void setChildren(SI_LocationInstance[] children)
Parameters:
children -

getEnd

public java.util.Date getEnd()
Description copied from interface: SI_LocationInstance
for the TemporalExtent

Specified by:
getEnd in interface SI_LocationInstance
Returns:

setEnd

public void setEnd(java.util.Date end)
Parameters:
end -

getAdministrator

public CitedResponsibleParty getAdministrator()
Specified by:
getAdministrator in interface SI_LocationInstance
Returns:

setAdministrator

public void setAdministrator(CitedResponsibleParty administrator)
Parameters:
administrator -

getGeographicExtent

public GM_Object[] getGeographicExtent()
Specified by:
getGeographicExtent in interface SI_LocationInstance
Returns:

addGeographicExtent

public void addGeographicExtent(GM_Object geographicExtent)
Parameters:
geographicExtent -

setGeographicExtent

public void setGeographicExtent(GM_Object[] geographicExtent)
Parameters:
geographicExtent -

getGeographicIdentifier

public java.lang.String getGeographicIdentifier()
Specified by:
getGeographicIdentifier in interface SI_LocationInstance
Returns:

setGeographicIdentifier

public void setGeographicIdentifier(java.lang.String geographicIdentifier)
Parameters:
geographicIdentifier -

getLocationType

public SI_LocationType getLocationType()
Specified by:
getLocationType in interface SI_LocationInstance
Returns:

setLocationType

public void setLocationType(SI_LocationType type)
Parameters:
type -

getParents

public SI_LocationInstance[] getParents()
Specified by:
getParents in interface SI_LocationInstance
Returns:

addParents

public void addParents(SI_LocationInstance parent)
Parameters:
parent -

setParents

public void setParents(SI_LocationInstance[] parents)
Parameters:
parents -

getPosition

public GM_Point[] getPosition()
Description copied from interface: SI_LocationInstance
TDB - should we support optional multiple bounding boxes or a single one? Restricted to one to meet UML and minimise semantic variability between implementations.

Specified by:
getPosition in interface SI_LocationInstance
Returns:

addPosition

public void addPosition(GM_Point position)
Parameters:
position -

setPosition

public void setPosition(GM_Point[] position)
Parameters:
position -

getSourceFeature

public java.net.URL getSourceFeature()
returns an URL containing a request against a WFS returning the feature that is the source of this SI_LocationInstance

Specified by:
getSourceFeature in interface SI_LocationInstance
Returns:

setSourceFeature

public void setSourceFeature(java.net.URL sourceFeature)
Parameters:
sourceFeature -
See Also:
getSourceFeature()

initLIFeatureType

private static FeatureType initLIFeatureType()

initLIFeatureProperties

private static FeatureProperty[] initLIFeatureProperties()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception