Package org.vast.ogc.gml
Interface IFeature
- All Superinterfaces:
IResource
- All Known Subinterfaces:
AbstractFeature
,AbstractPhysicalProcess
,AbstractProcess
,AggregateProcess
,Deployment
,DescribedObject
,FeatureCollection
,GenericFeature
,IDeploymentWithDesc
,IFeatureCollection
,IObservation
,IObservationSeries
,IProcedure
,IProcedureArray
,IProcedureWithDesc
,ISmlFeature<T>
,ISystemWithDesc
,Mode
,PhysicalComponent
,PhysicalSystem
,SimpleProcess
- All Known Implementing Classes:
AbstractFeatureImpl
,AbstractProcessImpl
,AggregateProcessImpl
,DeploymentImpl
,DescribedObjectImpl
,ExtensibleFeatureImpl
,FeatureCollectionImpl
,FeatureRef
,FeatureWrapper
,GenericFeatureImpl
,GenericTemporalFeatureImpl
,ModeImpl
,MovingFeature
,ObservationImpl
,ObservationRef
,ParametricSamplingFeature
,PhysicalComponentImpl
,PhysicalSystemImpl
,ProcedureRef
,ProcedureXML
,SamplingCurve
,SamplingFeature
,SamplingPoint
,SamplingPointXYZ
,SamplingSphere
,SamplingSurface
,SimpleProcessImpl
,ViewingFrustum
,ViewingSector
Simple interface for feature objects
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault AbstractGeometry
getId()
default QName
getQName()
default String
getType()
default TimeExtent
default boolean
To be overriden by subclasses when a property other than location provides the geometry.default boolean
To be overriden by subclasses when a property other than validTime provides the feature time.Methods inherited from interface org.vast.util.IResource
getDescription, getName
-
Field Details
-
DEFAULT_QNAME
-
-
Method Details
-
getId
String getId()- Returns:
- the local/internal ID of the feature (often automatically assigned by the feature repository)
-
getUniqueIdentifier
String getUniqueIdentifier()- Returns:
- the globally unique identifier that can be used to identify the same feature across contexts (e.g. across repositories)
-
getType
- Returns:
- the feature type URI
-
getQName
- Returns:
- the Qualified name of the feature type
-
getGeometry
- Returns:
- the geometry/location (or null if feature has no geometry)
-
hasCustomGeomProperty
default boolean hasCustomGeomProperty()To be overriden by subclasses when a property other than location provides the geometry. In this case, no location property is serialized- Returns:
- True if a custom property contains the geometry
-
getValidTime
- Returns:
- feature validity period (or null if always valid)
-
hasCustomTimeProperty
default boolean hasCustomTimeProperty()To be overriden by subclasses when a property other than validTime provides the feature time. In this case, no validTime property is serialized- Returns:
- True if a custom property contains the feature time stamp
-
getProperties
- Returns:
- the property list
-