Interface EMFFormsDomainExpander
-
- All Known Implementing Classes:
EMFFormsDomainExpanderImpl
public interface EMFFormsDomainExpander
This service offers the methodprepareDomainObject(VDomainModelReference, EObject)
that allows to expand a givendomain object
for aVDomainModelReference
. Thereby, missing references, which are defined in the domain model reference but do not yet exist (= are null) in the domain model, are created.- Since:
- 1.7
- Author:
- Lucas Koehler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
prepareDomainObject(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainObject)
Expands adomain object
for the givenVDomainModelReference
.
-
-
-
Method Detail
-
prepareDomainObject
void prepareDomainObject(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainObject) throws EMFFormsExpandingFailedException
Expands adomain object
for the givenVDomainModelReference
. Thereby, the path defined by theVDomainModelReference
is analyzed and missing objects in the domain model are created. TheVDomainModelReference
is not changed.Example:
DMR: A -> B -> x
domain model is instance of A but does not reference an instance of B
=> An instance of B is created and referenced by the domain model.- Parameters:
domainModelReference
- TheVDomainModelReference
for which thedomain object
should be prepared.domainObject
- Thedomain object
to prepare.- Throws:
EMFFormsExpandingFailedException
- if the domain expansion fails.
-
-