Class ExternalPropertyManager

java.lang.Object
com._1c.g5.v8.dt.internal.md.ExternalPropertyManager
All Implemented Interfaces:
IExternalPropertyManager

public class ExternalPropertyManager extends Object implements IExternalPropertyManager
The default implementation of IExternalPropertyManager.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends org.eclipse.emf.ecore.EObject>
    T
    getOwner(org.eclipse.emf.ecore.EObject referenceObject, Class<T> ownerType)
    Returns owner for given object.
    org.eclipse.emf.ecore.EReference
    getReference(org.eclipse.emf.ecore.EObject referenceObject)
    Returns reference which holds reference to external property

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExternalPropertyManager

      public ExternalPropertyManager(IBmModel bmModel)
      Creates a new instance.
      Parameters:
      bmModel - the BM model, cannot be null
  • 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 interface IExternalPropertyManager
      Parameters:
      referenceObject - the object to get owner for (not null)
      ownerType - the owner type (not null)
      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 interface IExternalPropertyManager
      Parameters:
      referenceObject - the object to get owner for (not null)
      Returns:
      the owner reference for what back reference object was registered or null if there is no back reference.