public class TargetReferenceExtension
extends java.lang.Object
setModelExtensionObject(ModelExtensionObject), the String reference
will be resolved in the corresponding ModelExtensionObject.| Constructor and Description |
|---|
TargetReferenceExtension(org.eclipse.emf.ecore.EAttribute pAttribute,
java.lang.String pModelExtensionID,
java.util.concurrent.Callable<java.lang.String> pCallable,
java.util.function.Consumer<java.lang.String> pConsumer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.ecore.EAttribute |
getAttributeIdentifier()
Gets the attribute.
|
ModelExtensionObject |
getModelExtensionObject()
Gets the referenced target property extension.
|
void |
setModelExtensionObject(ModelExtensionObject pTargetProperty)
Sets the target property extension.
|
java.lang.String |
toString() |
public TargetReferenceExtension(org.eclipse.emf.ecore.EAttribute pAttribute,
java.lang.String pModelExtensionID,
java.util.concurrent.Callable<java.lang.String> pCallable,
java.util.function.Consumer<java.lang.String> pConsumer)
pAttribute - the corresponding EAttributepModelExtensionID - a model extension ID referenced in the attributepCallable - the Callable which calls the attribute valuepConsumer - the Consumer which accepts the resolved attribute
valuepublic org.eclipse.emf.ecore.EAttribute getAttributeIdentifier()
public void setModelExtensionObject(ModelExtensionObject pTargetProperty)
pTargetProperty - the target property extensionpublic ModelExtensionObject getModelExtensionObject()
null, if the
reference was invalidpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 Micro Focus GmbH. All rights reserved.