@ParametersAreNonnullByDefault public abstract class AbstractProxyFeature<T extends AbstractProxyFeature<T,R,V>,R extends org.eclipse.emf.ecore.EStructuralFeature,V> extends AbstractNamedElement<T> implements Proxy<T,R>
EStructuralFeature.| Constructor and Description |
|---|
AbstractProxyFeature() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getId()
Returns the identifier of the feature for the owner element.
|
R |
getOrigin()
Returns the origin of this proxy.
|
Id |
getOwner()
Returns the identifier of the element that owns this feature.
|
ProxyValue<V> |
getValue()
Returns the value of this feature.
|
int |
hashCode() |
boolean |
isMany()
Returns
true if this feature is multi-valued. |
T |
setId(int id)
Defines the identifier of the feature for the owner element.
|
T |
setMany(boolean isMany)
Defines whether this feature is multi-valued.
|
T |
setOrigin(R eFeature)
Defines the origin of this proxy.
|
T |
setOwner(Id owner)
Defines the identifier of the element that owns this feature.
|
T |
setValue(ProxyValue<V> value)
Defines the value of this feature.
|
getName, me, setName, toStringpublic R getOrigin()
Proxy@Nonnull public T setOrigin(R eFeature)
Proxypublic Id getOwner()
@Nonnull public T setOwner(Id owner)
owner - the owner's identifierpublic int getId()
@Nonnull public T setId(int id)
id - the feature's identifierpublic boolean isMany()
true if this feature is multi-valued.true if this feature is multi-valued@Nonnull public T setMany(boolean isMany)
isMany - true if this feature is multi-valued@Nonnull public ProxyValue<V> getValue()
@Nonnull public T setValue(ProxyValue<V> value)
value - the valuepublic int hashCode()
hashCode in class AbstractNamedElement<T extends AbstractProxyFeature<T,R,V>>public boolean equals(@Nullable Object o)
equals in class AbstractNamedElement<T extends AbstractProxyFeature<T,R,V>>Copyright © 2013–2019 Atlanmod. All rights reserved.