public interface FeatureReference extends SupportToJson
Feature
. It is used to keep references on features
without maintaining the whole feature in memory, thus improving
memory needs.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
Feature |
getFeature()
Returns the referenced
Feature |
Feature |
getFeature(FeatureType featureType)
Returns the referenced
Feature |
Feature |
getFeatureQuietly() |
boolean |
isNewFeature()
Inform that represented feature is not stored in the original data store
|
toJson, toJson, toJsonBuilder, toJsonBuilder
Feature getFeature() throws DataException
Feature
Feature
identified by this FeatureReference
DataException
Feature getFeatureQuietly()
Feature getFeature(FeatureType featureType) throws DataException
Feature
featureType
- The FeatureType
to which the referenced
Feature
belongs.Feature
identified by this FeatureReference
DataException
boolean isNewFeature()
java.lang.String getCode()