public interface ReferenceStrategy
DefaultReferenceService
customization strategy for adding an object to a reference of another.DefaultReferenceService
Modifier and Type | Interface and Description |
---|---|
static interface |
ReferenceStrategy.Provider
Specific Bazaar vendor interface for reference strategies.
|
Modifier and Type | Field and Description |
---|---|
static ReferenceStrategy |
DEFAULT
The default strategy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addElementsToReference(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference,
Set<? extends org.eclipse.emf.ecore.EObject> objects)
Add a set of new
objects to a reference . |
static final ReferenceStrategy DEFAULT
boolean addElementsToReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, Set<? extends org.eclipse.emf.ecore.EObject> objects)
objects
to a reference
.owner
- an existing object to which the given objects
are to be added in the reference
reference
- the reference of the owner
to which the objects
are to be addedobjects
- the new objects to be added to the reference
of the owner
true
if the objects
were added to the reference
by this
strategy; false
, otherwiseCopyright © 2019. All rights reserved.