public class FeatureRef extends CachedReference<GenericFeature> implements GenericFeature
Wrapper class for use when an IFeature object is or can be included by reference. This enables fetching and instantiating the target object lazily.
| Constructor and Description |
|---|
FeatureRef() |
FeatureRef(String href) |
| Modifier and Type | Method and Description |
|---|---|
void |
addName(Code name)
Adds a new name property
|
Envelope |
getBoundedBy()
Gets the boundedBy property
|
String |
getDescription()
Gets the description property
|
Reference |
getDescriptionReference()
Gets the descriptionReference property
|
String |
getId()
Gets the id property
|
CodeWithAuthority |
getIdentifier()
Gets the identifier property
|
AbstractGeometry |
getLocation()
Gets the location property
|
OgcProperty<AbstractGeometry> |
getLocationProperty()
Gets extra info (name, xlink, etc.) carried by the location property
|
OgcPropertyList<Object> |
getMetaDataPropertyList()
Gets the list of metaDataProperty properties
|
String |
getName() |
List<Code> |
getNameList()
Gets the list of name properties
|
int |
getNumNames()
Returns number of name properties
|
Map<QName,Object> |
getProperties() |
Object |
getProperty(QName qname) |
Object |
getProperty(String name) |
QName |
getQName() |
String |
getType() |
String |
getUniqueIdentifier()
Gets the identifier property
|
boolean |
isSetBoundedBy()
Checks if boundedBy is set
|
boolean |
isSetDescription()
Checks if description is set
|
boolean |
isSetDescriptionReference()
Checks if descriptionReference is set
|
boolean |
isSetIdentifier()
Checks if identifier is set
|
boolean |
isSetLocation()
Checks if location is set
|
void |
setBoundedByAsEnvelope(Envelope boundedBy)
Sets the boundedByAsEnvelope property
|
void |
setDescription(String description)
Sets the description property
|
void |
setDescriptionReference(Reference descriptionReference)
Sets the descriptionReference property
|
void |
setId(String id)
Sets the id property
|
void |
setIdentifier(CodeWithAuthority identifier)
Sets the identifier property
|
void |
setLocation(AbstractGeometry location)
Sets the locationAsAbstractGeometry property
|
void |
setName(String name)
Sets the default name
|
void |
setProperty(QName qname,
Object value) |
void |
setProperty(String name,
Object value) |
void |
setType(String type) |
void |
setUniqueIdentifier(String identifier)
Sets the identifier property
|
getArcRole, getHref, getRole, getTarget, refresh, setArcRole, setHref, setResolver, setRolepublic FeatureRef()
public FeatureRef(String href)
public OgcPropertyList<Object> getMetaDataPropertyList()
AbstractGMLgetMetaDataPropertyList in interface AbstractGMLpublic Envelope getBoundedBy()
AbstractFeaturegetBoundedBy in interface AbstractFeaturepublic boolean isSetBoundedBy()
AbstractFeatureisSetBoundedBy in interface AbstractFeaturepublic String getDescription()
AbstractGMLgetDescription in interface AbstractGMLpublic void setBoundedByAsEnvelope(Envelope boundedBy)
AbstractFeaturesetBoundedByAsEnvelope in interface AbstractFeaturepublic boolean isSetDescription()
AbstractGMLisSetDescription in interface AbstractGMLpublic AbstractGeometry getLocation()
AbstractFeaturegetLocation in interface AbstractFeaturepublic void setDescription(String description)
AbstractGMLsetDescription in interface AbstractGMLpublic QName getQName()
getQName in interface AbstractFeaturegetQName in interface GenericFeaturepublic OgcProperty<AbstractGeometry> getLocationProperty()
AbstractFeaturegetLocationProperty in interface AbstractFeaturepublic Reference getDescriptionReference()
AbstractGMLgetDescriptionReference in interface AbstractGMLpublic String getType()
getType in interface GenericFeaturepublic void setType(String type)
setType in interface GenericFeaturepublic Map<QName,Object> getProperties()
getProperties in interface GenericFeaturepublic boolean isSetDescriptionReference()
AbstractGMLisSetDescriptionReference in interface AbstractGMLpublic Object getProperty(String name)
getProperty in interface GenericFeaturepublic boolean isSetLocation()
AbstractFeatureisSetLocation in interface AbstractFeaturepublic void setProperty(String name, Object value)
setProperty in interface GenericFeaturepublic Object getProperty(QName qname)
getProperty in interface GenericFeaturepublic void setLocation(AbstractGeometry location)
AbstractFeaturesetLocation in interface AbstractFeaturepublic void setDescriptionReference(Reference descriptionReference)
AbstractGMLsetDescriptionReference in interface AbstractGMLpublic void setProperty(QName qname, Object value)
setProperty in interface GenericFeaturepublic CodeWithAuthority getIdentifier()
AbstractGMLgetIdentifier in interface AbstractGMLpublic String getUniqueIdentifier()
AbstractGMLgetUniqueIdentifier in interface AbstractGMLpublic boolean isSetIdentifier()
AbstractGMLisSetIdentifier in interface AbstractGMLpublic void setIdentifier(CodeWithAuthority identifier)
AbstractGMLsetIdentifier in interface AbstractGMLpublic void setUniqueIdentifier(String identifier)
AbstractGMLsetUniqueIdentifier in interface AbstractGMLpublic List<Code> getNameList()
AbstractGMLgetNameList in interface AbstractGMLpublic int getNumNames()
AbstractGMLgetNumNames in interface AbstractGMLpublic void addName(Code name)
AbstractGMLaddName in interface AbstractGMLpublic void setName(String name)
AbstractGMLsetName in interface AbstractGMLpublic String getName()
getName in interface AbstractGMLpublic String getId()
AbstractGMLgetId in interface AbstractGMLpublic void setId(String id)
AbstractGMLsetId in interface AbstractGMLCopyright © 2016 VAST Team / Sensia Software LLC. All rights reserved.