Class BmObject

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl

        org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
      • Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

        org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
      • Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

        org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

        org.eclipse.emf.ecore.InternalEObject.EStore
    • Field Summary

      • Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

        EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
      • Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder

        NIL
      • Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

        EOPPOSITE_FEATURE_BASE
    • Constructor Summary

      Constructors 
      Constructor Description
      BmObject()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IBmEngine bmGetEngine()
      Gets the engine the object is managed by.
      String bmGetFqn()
      Gets FQN of this object.
      long bmGetId()
      Gets the object's ID.
      com._1c.g5.v8.bm.core.internal.IBmInternalNamespace bmGetNamespace()
      Gets the namespace this object belongs to.
      com._1c.g5.v8.bm.core.internal.IBmInternalPlatformTransaction bmGetPlatformTransaction()
      Gets the platform-wide transaction this object is associated with.
      Map<String,​String> bmGetProperties()
      Gets map containing all the object's properties.
      String bmGetProperty​(String property)
      Gets the specified property value.
      Collection<IBmCrossReference> bmGetReferences()
      Gets the references pointing to this object.
      int bmGetResourceId()
      Gets resource ID this object belongs to.
      BmObject bmGetTopObject()
      Gets the corresponding top-level object.
      com._1c.g5.v8.bm.core.internal.IBmInternalTransaction bmGetTransaction()
      Gets the namespace-bound transaction this object is associated with.
      org.eclipse.emf.common.util.URI bmGetUri()
      Gets URI of this object.
      String bmGetUriAsString()
      Gets URI of this object in the form of a string.
      This method could be used as an optimization to not overload the (URI pool.
      boolean bmIsTop()
      Checks if the object is top-level.
      boolean bmIsTransient()
      Checks whether the object is transient (not attached to BM).
      boolean bmMatchSingleReference​(org.eclipse.emf.ecore.EReference feature, org.eclipse.emf.ecore.EObject target)
      Returns whether the content of the object's single-valued feature matches the provided target BmObject.
      void bmSetProperty​(String property, String value)
      Sets the specified property value.
      protected org.eclipse.emf.ecore.util.FeatureMap createFeatureMap​(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)  
      protected org.eclipse.emf.common.util.EList<?> createList​(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)  
      Object dynamicGet​(int dynamicFeatureID)  
      void dynamicSet​(int dynamicFeatureID, Object value)  
      void dynamicUnset​(int dynamicFeatureID)  
      protected void eBasicSetContainer​(org.eclipse.emf.ecore.InternalEObject newContainer, int newContainerFeatureID)  
      org.eclipse.emf.common.notify.NotificationChain eBasicSetContainer​(org.eclipse.emf.ecore.InternalEObject newContainer, int newContainerFeatureID, org.eclipse.emf.common.notify.NotificationChain msgs)  
      protected void eBasicSetSettings​(Object[] settings)  
      protected Object[] eBasicSettings()  
      org.eclipse.emf.ecore.EClass eClass()  
      int eContainerFeatureID()  
      org.eclipse.emf.ecore.resource.Resource.Internal eDirectResource()  
      Object eGet​(int featureId, boolean resolve, boolean coreType)  
      protected boolean eHasSettings()  
      org.eclipse.emf.ecore.InternalEObject eInternalContainer()  
      org.eclipse.emf.ecore.resource.Resource.Internal eInternalResource()  
      org.eclipse.emf.common.notify.NotificationChain eInverseAdd​(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, Class<?> baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)  
      boolean eNotificationRequired()  
      void eNotify​(org.eclipse.emf.common.notify.Notification notification)  
      boolean equals​(Object obj)  
      org.eclipse.emf.ecore.EObject eResolveProxy​(org.eclipse.emf.ecore.InternalEObject proxy)  
      protected void eSetDirectResource​(org.eclipse.emf.ecore.resource.Resource.Internal resource)  
      void eSetStore​(org.eclipse.emf.ecore.InternalEObject.EStore store)  
      protected org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder eSettings()  
      org.eclipse.emf.ecore.InternalEObject.EStore eStore()  
      int hashCode()  
      • Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl

        eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID, eDynamicIsSet, eIsCaching, eStaticFeatureCount
      • Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl

        eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eDynamicClass, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
      • Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

        eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResource, eSet, eSet, eSetResource, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticClass, eStaticOperationCount, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eSetDeliver
    • Constructor Detail

      • BmObject

        public BmObject()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • bmGetId

        public long bmGetId()
        Description copied from interface: IBmObject
        Gets the object's ID.
        Specified by:
        bmGetId in interface IBmObject
        Returns:
        the object's ID or -1L if the object has never been attached to BM.
      • bmIsTop

        public final boolean bmIsTop()
        Description copied from interface: IBmObject
        Checks if the object is top-level.
        Specified by:
        bmIsTop in interface IBmObject
        Returns:
        true if the object is top-level, otherwise false.
      • bmGetEngine

        public final IBmEngine bmGetEngine()
        Description copied from interface: IBmObject
        Gets the engine the object is managed by.
        Specified by:
        bmGetEngine in interface IBmObject
        Returns:
        the engine or null if the object is not attached to BM.
      • bmGetNamespace

        public final com._1c.g5.v8.bm.core.internal.IBmInternalNamespace bmGetNamespace()
        Description copied from interface: IBmObject
        Gets the namespace this object belongs to.
        Specified by:
        bmGetNamespace in interface IBmObject
        Returns:
        the namespace or null if the object is not attached to BM.
      • bmGetPlatformTransaction

        public final com._1c.g5.v8.bm.core.internal.IBmInternalPlatformTransaction bmGetPlatformTransaction()
        Description copied from interface: IBmObject
        Gets the platform-wide transaction this object is associated with.
        Specified by:
        bmGetPlatformTransaction in interface IBmObject
        Returns:
        the transaction or null if the object is not associated with a transaction.
      • bmGetTransaction

        public final com._1c.g5.v8.bm.core.internal.IBmInternalTransaction bmGetTransaction()
        Description copied from interface: IBmObject
        Gets the namespace-bound transaction this object is associated with.
        Specified by:
        bmGetTransaction in interface IBmObject
        Returns:
        the transaction or null if the object is not associated with a transaction.
      • eSetStore

        public final void eSetStore​(org.eclipse.emf.ecore.InternalEObject.EStore store)
        Specified by:
        eSetStore in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eSetStore in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eStore

        public final org.eclipse.emf.ecore.InternalEObject.EStore eStore()
        Specified by:
        eStore in interface org.eclipse.emf.ecore.InternalEObject
        Specified by:
        eStore in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
      • eClass

        public final org.eclipse.emf.ecore.EClass eClass()
        Specified by:
        eClass in interface org.eclipse.emf.ecore.EObject
        Overrides:
        eClass in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • bmGetResourceId

        public final int bmGetResourceId()
        Description copied from interface: IBmObject
        Gets resource ID this object belongs to. If the object is not attached to BM an exception is thrown.
        Specified by:
        bmGetResourceId in interface IBmObject
        Returns:
        the resource ID.
      • bmSetProperty

        public final void bmSetProperty​(String property,
                                        String value)
        Description copied from interface: IBmObject
        Sets the specified property value.
        Specified by:
        bmSetProperty in interface IBmObject
        Parameters:
        property - The property to set value. May not be null.
        value - The value to set. May be null.
      • bmMatchSingleReference

        public final boolean bmMatchSingleReference​(org.eclipse.emf.ecore.EReference feature,
                                                    org.eclipse.emf.ecore.EObject target)
        Description copied from interface: IBmObject
        Returns whether the content of the object's single-valued feature matches the provided target BmObject.
        Specified by:
        bmMatchSingleReference in interface IBmObject
        Parameters:
        feature - a single-valued feature of the object. May not be null
        target - a target EObject to match. May not be null
        Returns:
        true if the content of the object's feature contains/refers the given target objects.
      • bmGetProperties

        public final Map<String,​String> bmGetProperties()
        Description copied from interface: IBmObject
        Gets map containing all the object's properties.
        Specified by:
        bmGetProperties in interface IBmObject
        Returns:
        a map containing all the object's properties, never null.
      • bmGetProperty

        public final String bmGetProperty​(String property)
        Description copied from interface: IBmObject
        Gets the specified property value.
        Specified by:
        bmGetProperty in interface IBmObject
        Parameters:
        property - The property to get value. May not be null.
        Returns:
        the property value if set, null otherwise.
      • eGet

        public Object eGet​(int featureId,
                           boolean resolve,
                           boolean coreType)
        Specified by:
        eGet in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • dynamicGet

        public final Object dynamicGet​(int dynamicFeatureID)
        Specified by:
        dynamicGet in interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
        Overrides:
        dynamicGet in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
      • dynamicSet

        public final void dynamicSet​(int dynamicFeatureID,
                                     Object value)
        Specified by:
        dynamicSet in interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
        Overrides:
        dynamicSet in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
      • dynamicUnset

        public final void dynamicUnset​(int dynamicFeatureID)
        Specified by:
        dynamicUnset in interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
        Overrides:
        dynamicUnset in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
      • eContainerFeatureID

        public final int eContainerFeatureID()
        Specified by:
        eContainerFeatureID in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eContainerFeatureID in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
      • eNotificationRequired

        public final boolean eNotificationRequired()
        Specified by:
        eNotificationRequired in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eNotificationRequired in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      • eNotify

        public final void eNotify​(org.eclipse.emf.common.notify.Notification notification)
        Specified by:
        eNotify in interface org.eclipse.emf.common.notify.Notifier
        Overrides:
        eNotify in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      • eInverseAdd

        public final org.eclipse.emf.common.notify.NotificationChain eInverseAdd​(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                                 int featureID,
                                                                                 Class<?> baseClass,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)
        Specified by:
        eInverseAdd in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • bmIsTransient

        public final boolean bmIsTransient()
        Description copied from interface: IBmObject
        Checks whether the object is transient (not attached to BM).
        Specified by:
        bmIsTransient in interface IBmObject
        Returns:
        true if the object is transient, false otherwise.
      • bmGetFqn

        public final String bmGetFqn()
        Description copied from interface: IBmObject
        Gets FQN of this object. If this object is not attached to BM or not a top object, an exception is thrown.
        Specified by:
        bmGetFqn in interface IBmObject
        Returns:
        the FQN, not null.
      • bmGetTopObject

        public final BmObject bmGetTopObject()
        Description copied from interface: IBmObject
        Gets the corresponding top-level object. If the object is not attached to BM an exception is thrown.
        Specified by:
        bmGetTopObject in interface IBmObject
        Returns:
        the corresponding top-level object, can be null in case if IBmObject is global and the object was removed out of storage.
      • bmGetUri

        public final org.eclipse.emf.common.util.URI bmGetUri()
        Description copied from interface: IBmObject
        Gets URI of this object.
        Specified by:
        bmGetUri in interface IBmObject
        Returns:
        the URI or null.
      • bmGetUriAsString

        public final String bmGetUriAsString()
        Description copied from interface: IBmObject
        Gets URI of this object in the form of a string.
        This method could be used as an optimization to not overload the (URI pool.
        Specified by:
        bmGetUriAsString in interface IBmObject
        Returns:
        the URI or null.
      • eInternalContainer

        public final org.eclipse.emf.ecore.InternalEObject eInternalContainer()
        Specified by:
        eInternalContainer in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eInternalContainer in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
      • eBasicSetContainer

        public final org.eclipse.emf.common.notify.NotificationChain eBasicSetContainer​(org.eclipse.emf.ecore.InternalEObject newContainer,
                                                                                        int newContainerFeatureID,
                                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)
        Specified by:
        eBasicSetContainer in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eBasicSetContainer in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eDirectResource

        public final org.eclipse.emf.ecore.resource.Resource.Internal eDirectResource()
        Specified by:
        eDirectResource in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eDirectResource in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • eResolveProxy

        public final org.eclipse.emf.ecore.EObject eResolveProxy​(org.eclipse.emf.ecore.InternalEObject proxy)
        Specified by:
        eResolveProxy in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eResolveProxy in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eInternalResource

        public final org.eclipse.emf.ecore.resource.Resource.Internal eInternalResource()
        Specified by:
        eInternalResource in interface org.eclipse.emf.ecore.InternalEObject
        Overrides:
        eInternalResource in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • eSetDirectResource

        protected final void eSetDirectResource​(org.eclipse.emf.ecore.resource.Resource.Internal resource)
        Overrides:
        eSetDirectResource in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • eSettings

        protected final org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder eSettings()
        Overrides:
        eSettings in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • eHasSettings

        protected final boolean eHasSettings()
        Overrides:
        eHasSettings in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • eBasicSettings

        protected final Object[] eBasicSettings()
        Overrides:
        eBasicSettings in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • eBasicSetSettings

        protected final void eBasicSetSettings​(Object[] settings)
        Overrides:
        eBasicSetSettings in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • eBasicSetContainer

        protected final void eBasicSetContainer​(org.eclipse.emf.ecore.InternalEObject newContainer,
                                                int newContainerFeatureID)
        Overrides:
        eBasicSetContainer in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
      • createFeatureMap

        protected final org.eclipse.emf.ecore.util.FeatureMap createFeatureMap​(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
        Overrides:
        createFeatureMap in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
      • createList

        protected final org.eclipse.emf.common.util.EList<?> createList​(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
        Overrides:
        createList in class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl