Package com._1c.g5.v8.dt.internal.md
Class ExternalPropertyManager
java.lang.Object
com._1c.g5.v8.dt.internal.md.ExternalPropertyManager
- All Implemented Interfaces:
IExternalPropertyManager
The default implementation of
IExternalPropertyManager
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends org.eclipse.emf.ecore.EObject>
TReturns owner for given object.org.eclipse.emf.ecore.EReference
getReference
(org.eclipse.emf.ecore.EObject referenceObject) Returns reference which holds reference to external property
-
Constructor Details
-
ExternalPropertyManager
Creates a new instance.- Parameters:
bmModel
- the BM model, cannot benull
-
-
Method Details
-
getOwner
public <T extends org.eclipse.emf.ecore.EObject> T getOwner(org.eclipse.emf.ecore.EObject referenceObject, Class<T> ownerType) Description copied from interface:IExternalPropertyManager
Returns owner for given object.- Specified by:
getOwner
in interfaceIExternalPropertyManager
- Parameters:
referenceObject
- the object to get owner for (notnull
)ownerType
- the owner type (notnull
)- Returns:
- the owner object for what back reference was registered or null if there is no back reference.
-
getReference
public org.eclipse.emf.ecore.EReference getReference(org.eclipse.emf.ecore.EObject referenceObject) Description copied from interface:IExternalPropertyManager
Returns reference which holds reference to external property- Specified by:
getReference
in interfaceIExternalPropertyManager
- Parameters:
referenceObject
- the object to get owner for (notnull
)- Returns:
- the owner reference for what back reference object was registered or null if there is no back reference.
-