Package com._1c.g5.v8.bm.core.event
Class BmResolvedEvent
- java.lang.Object
-
- com._1c.g5.v8.bm.core.event.BmSubEvent
-
- com._1c.g5.v8.bm.core.event.BmResolvedEvent
-
public final class BmResolvedEvent extends BmSubEvent
Sub-event representing object (un)resolution. In case some object have URI proxy reference to object, it will be notified. Event support two kind of state: 1. BecomeResolved. 2. BecomeUnresolved.- See Also:
BmEvent
,BmSubEvent
-
-
Constructor Summary
Constructors Constructor Description BmResolvedEvent(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.EObject target, Collection<IBmCrossReference> references, boolean resolved)
Construct resolution event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EStructuralFeature
getReferenceFeature(IBmObject obj)
Return reference feature of referenced object.Collection<IBmCrossReference>
getReferences()
List of cross references for resolved URIs.org.eclipse.emf.ecore.EObject
getTarget()
Return resolved object.org.eclipse.emf.common.util.URI
getUri()
Return the resolved URI.boolean
isResolved()
Return true then event is resolution event, false overwize.
-
-
-
Constructor Detail
-
BmResolvedEvent
public BmResolvedEvent(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.EObject target, Collection<IBmCrossReference> references, boolean resolved)
Construct resolution event.- Parameters:
uri
- - resolve URI.target
- - resolved object.references
- - list of cross references.resolved
- - resolution status.
-
-
Method Detail
-
getReferenceFeature
public org.eclipse.emf.ecore.EStructuralFeature getReferenceFeature(IBmObject obj)
Return reference feature of referenced object.- Parameters:
obj
- - reference object.- Returns:
- feature of reference.
-
getReferences
public Collection<IBmCrossReference> getReferences()
List of cross references for resolved URIs.- Returns:
- list of cross references for resolved uris.
-
getTarget
public org.eclipse.emf.ecore.EObject getTarget()
Return resolved object.- Returns:
- resolved object.
-
getUri
public org.eclipse.emf.common.util.URI getUri()
Return the resolved URI.- Returns:
- the URI.
-
isResolved
public boolean isResolved()
Return true then event is resolution event, false overwize.- Returns:
- true then resolved.
-
-