public interface ILcdOGCFeatureIDRetriever
factory method
to
obtain an instance.Modifier and Type | Method and Description |
---|---|
static ILcdOGCFeatureIDRetriever |
createDefaultFeatureIDRetriever(ILcdModel aSourceModel)
Creates an
ILcdOGCFeatureIDRetriever instance which can deal with the domain objects
from aSourceModel . |
String |
retrieveFeatureID(Object aObject)
Returns the feature ID of the given object.
|
static ILcdOGCFeatureIDRetriever createDefaultFeatureIDRetriever(ILcdModel aSourceModel)
ILcdOGCFeatureIDRetriever
instance which can deal with the domain objects
from aSourceModel
.
The returned retriever return ids for ILcdDataObject
instances which are
annotated with a TLcdPrimaryKeyAnnotation
.
If the object is not ILcdDataObject
, or its type doesn't have TLcdPrimaryKeyAnnotation
,
an ID is returned based on System.identityHashCode
.aSourceModel
- the given model.ILcdOGCFeatureIDRetriever
instance.