Package org.contextmapper.tactic.dsl
Class TacticDslExtensions
java.lang.Object
org.contextmapper.tactic.dsl.TacticDslExtensions
Extensions for model elements of the domain model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Iterable<SimpleDomainObject>
static <T extends org.eclipse.emf.ecore.EObject>
Iterator<T>eAllOfClass
(org.eclipse.emf.ecore.EObject obj, Class<T> clazz) Extensions for model elements of the domain model.static SimpleDomainObject
firstDomainObjectForType
(ComplexType complexType)
-
Constructor Details
-
TacticDslExtensions
public TacticDslExtensions()
-
-
Method Details
-
eAllOfClass
public static <T extends org.eclipse.emf.ecore.EObject> Iterator<T> eAllOfClass(org.eclipse.emf.ecore.EObject obj, Class<T> clazz) Extensions for model elements of the domain model. -
domainObjectsForAttributeType
- Returns:
- DslSimpleDomainObjects whose type matches attr.type
-
firstDomainObjectForType
- Returns:
- the first DslSimpleDomainObject whose type matches complexType, or null
-