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, valueFields inherited from class org.vast.ogc.xlink.SimpleLink
arcRole, href, role, titleFields 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, setTargetUIDMethods inherited from class org.vast.ogc.xlink.SimpleLink
getHref, getMediaType, getRole, getTargetInterface, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTitleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.vast.ogc.gml.IFeature
getQName, getType, hasCustomGeomProperty, hasCustomTimePropertyMethods 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:
 getUniqueIdentifierin 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:
 getDescriptionin interfaceIResource- Returns:
 - A short description of the resource
 
 - 
getGeometry
- Specified by:
 getGeometryin interfaceIFeature- Returns:
 - the geometry/location (or null if feature has no geometry)
 
 - 
getValidTime
- Specified by:
 getValidTimein interfaceIFeature- Returns:
 - feature validity period (or null if always valid)
 
 - 
getProperties
- Specified by:
 getPropertiesin interfaceIFeature- Returns:
 - the property list
 
 
 -