public static interface ModelService.ModelElementFactory
| Modifier and Type | Method and Description |
|---|---|
<T extends MApplicationElement> |
createModelElement(java.lang.Class<T> clazz)
Create a model element instance and initialize the
MApplicationElement#setContributorURI(String) |
<T extends MApplicationElement> |
createModelElement(java.lang.Class<T> clazz,
java.util.function.Function<T,T> processor)
Create a model element instance, initialize the
MApplicationElement#setContributorURI(String) and run the
element through the provided processor |
<T extends MApplicationElement> |
createModelElement(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor)
Create a model element instance and initialize the
MApplicationElement#setContributorURI(String) with the value
provided by the contributor supplier |
<T extends MApplicationElement> |
createModelElement(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor,
java.util.function.Function<T,T> processor)
Create a model element instance, initialize the
MApplicationElement#setContributorURI(String) with the value
provided by the contributor supplier and run the element through the
provided processor |
<T extends MApplicationElement> |
createModelElementCreator(java.lang.Class<T> clazz)
Create a supplier who creates a model element instance and
initializes the
MApplicationElement#setContributorURI(String) |
<T extends MApplicationElement> |
createModelElementCreator(java.lang.Class<T> clazz,
java.util.function.Function<T,T> processor)
Create a supplier who creates a model element instance, initializes
the
MApplicationElement#setContributorURI(String) and run the
element through the provided processor |
<T extends MApplicationElement> |
createModelElementCreator(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor)
Create a supplier who creates a model element instance and
initializes the
MApplicationElement#setContributorURI(String)
with the value provided by the contributor supplier |
<T extends MApplicationElement> |
createModelElementCreator(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor,
java.util.function.Function<T,T> processor)
Create a supplier who creates a model element instance, initializes
the
MApplicationElement#setContributorURI(String) with the
value provided by the contributor supplier and run the element
through the provided processor |
<T extends MApplicationElement> T createModelElement(java.lang.Class<T> clazz)
MApplicationElement#setContributorURI(String)T - the element typeclazz - the model instance type<T extends MApplicationElement> T createModelElement(java.lang.Class<T> clazz,
java.util.function.Function<T,T> processor)
MApplicationElement#setContributorURI(String) and run the
element through the provided processorT - the element typeclazz - the model instance typeprocessor - the processor to eg initialize the element<T extends MApplicationElement> T createModelElement(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor)
MApplicationElement#setContributorURI(String) with the value
provided by the contributor supplierT - the element typeclazz - the model instance typecontributor - the contributor supplier<T extends MApplicationElement> T createModelElement(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor,
java.util.function.Function<T,T> processor)
MApplicationElement#setContributorURI(String) with the value
provided by the contributor supplier and run the element through the
provided processorT - the element typeclazz - the model instance typecontributor - the contributor supplierprocessor - the processor to eg initialize the element<T extends MApplicationElement> java.util.function.Supplier<T> createModelElementCreator(java.lang.Class<T> clazz)
MApplicationElement#setContributorURI(String)clazz - the model instance type<T extends MApplicationElement> java.util.function.Supplier<T> createModelElementCreator(java.lang.Class<T> clazz,
java.util.function.Function<T,T> processor)
MApplicationElement#setContributorURI(String) and run the
element through the provided processorT - the element typeclazz - the model instance typeprocessor - the processor to eg initialize the element<T extends MApplicationElement> java.util.function.Supplier<T> createModelElementCreator(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor)
MApplicationElement#setContributorURI(String)
with the value provided by the contributor supplierT - the element typeclazz - the model instance typecontributor - the contributor supplier<T extends MApplicationElement> java.util.function.Supplier<T> createModelElementCreator(java.lang.Class<T> clazz,
java.util.function.Supplier<java.lang.String> contributor,
java.util.function.Function<T,T> processor)
MApplicationElement#setContributorURI(String) with the
value provided by the contributor supplier and run the element
through the provided processorT - the element typeclazz - the model instance typecontributor - the contributor supplierprocessor - the processor to eg initialize the element