Package org.vast.ogc.gml
Class FeatureRef<T extends IFeature>
java.lang.Object
org.vast.ogc.xlink.SimpleLink<T>
org.vast.ogc.xlink.CachedReference<T>
org.vast.ogc.gml.FeatureRef<T>
- Type Parameters:
T
- Target Feature Type
- All Implemented Interfaces:
IFeature
,IXlinkReference<T>
,IResource
- Direct Known Subclasses:
ObservationRef
,ProcedureRef
Wrapper class for use when an IFeature object is or can be included by reference. This enables fetching and instantiating the target object lazily.
- Since:
- Sep 28, 2012
-
Field Summary
Fields inherited from class org.vast.ogc.xlink.CachedReference
resolver, value
Fields inherited from class org.vast.ogc.xlink.SimpleLink
arcRole, href, role, title
Fields inherited from interface org.vast.ogc.gml.IFeature
DEFAULT_QNAME
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.vast.ogc.xlink.CachedReference
equals, fetchTarget, getArcRole, getTarget, getTargetUID, hashCode, refresh, setResolver, setTargetUID
Methods inherited from class org.vast.ogc.xlink.SimpleLink
getHref, getMediaType, getRole, getTargetInterface, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTitle
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.vast.ogc.gml.IFeature
getQName, getType, hasCustomGeomProperty, hasCustomTimeProperty
Methods inherited from interface org.vast.ogc.xlink.IXlinkReference
getHref, getMediaType, getRole, getTargetInterface, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTitle
-
Constructor Details
-
FeatureRef
public FeatureRef() -
FeatureRef
-
-
Method Details
-
getUniqueIdentifier
- Specified by:
getUniqueIdentifier
in interfaceIFeature
- Returns:
- the globally unique identifier that can be used to identify the same feature across contexts (e.g. across repositories)
-
getId
-
getName
-
getDescription
- Specified by:
getDescription
in interfaceIResource
- Returns:
- A short description of the resource
-
getGeometry
- Specified by:
getGeometry
in interfaceIFeature
- Returns:
- the geometry/location (or null if feature has no geometry)
-
getValidTime
- Specified by:
getValidTime
in interfaceIFeature
- Returns:
- feature validity period (or null if always valid)
-
getProperties
- Specified by:
getProperties
in interfaceIFeature
- Returns:
- the property list
-