public class HBaseFeatureKey extends FeatureKey
FeatureKey
specific to the HBase implementation which needs a complete representation of a
EStructuralFeature
instead of a simple name.Modifier | Constructor and Description |
---|---|
protected |
HBaseFeatureKey(Id id,
EStructuralFeature feature)
Constructs a new
HBaseFeatureKey with the given id and the given feature . |
Modifier and Type | Method and Description |
---|---|
EStructuralFeature |
feature()
Returns the
EStructuralFeature of the PersistentEObject |
static HBaseFeatureKey |
from(PersistentEObject object,
EStructuralFeature feature)
Creates a new
HBaseFeatureKey from the given object and the given feature . |
static HBaseFeatureKey |
of(Id id,
EStructuralFeature feature)
Creates a new
HBaseFeatureKey with the given id and the given feature . |
compareTo, equals, from, hashCode, id, name, of, toString, withPosition
protected HBaseFeatureKey(@Nonnull Id id, @Nonnull EStructuralFeature feature)
HBaseFeatureKey
with the given id
and the given feature
.id
- the identifier of the PersistentEObject
feature
- the EStructuralFeature
of the PersistentEObject
@Nonnull public static HBaseFeatureKey from(@Nonnull PersistentEObject object, @Nonnull EStructuralFeature feature)
HBaseFeatureKey
from the given object
and the given feature
.
This method behaves like: of(object.id(), feature)
.
object
- the PersistentEObject
feature
- the EStructuralFeature
of the PersistentEObject
HBaseFeatureKey
FeatureKey.of(Id, String)
,
PersistentEObject.id()
@Nonnull public static HBaseFeatureKey of(@Nonnull Id id, @Nonnull EStructuralFeature feature)
HBaseFeatureKey
with the given id
and the given feature
.id
- the identifier of the PersistentEObject
feature
- the EStructuralFeature
of the PersistentEObject
HBaseFeatureKey
@Nonnull public EStructuralFeature feature()
EStructuralFeature
of the PersistentEObject
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.