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

public interface IFeature extends IResource

Simple interface for feature objects

  • Field Details

    • DEFAULT_QNAME

      static final QName 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

      default String getType()
      Returns:
      the feature type URI
    • getQName

      default QName getQName()
      Returns:
      the Qualified name of the feature type
    • getGeometry

      default AbstractGeometry 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

      default TimeExtent 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

      default Map<QName,Object> getProperties()
      Returns:
      the property list