Modifier and Type | Interface and Description |
---|---|
interface |
BpmnModelType |
Modifier and Type | Method and Description |
---|---|
<V extends ModelElementInstance> |
Query.filterByType(ModelElementType elementType) |
Modifier and Type | Method and Description |
---|---|
<V extends ModelElementInstance> |
QueryImpl.filterByType(ModelElementType elementType) |
Modifier and Type | Method and Description |
---|---|
<V extends ModelElementInstance> |
Query.filterByType(ModelElementType elementType) |
Modifier and Type | Method and Description |
---|---|
<V extends ModelElementInstance> |
QueryImpl.filterByType(ModelElementType elementType) |
Modifier and Type | Method and Description |
---|---|
<V extends ModelElementInstance> |
Query.filterByType(ModelElementType elementType) |
Modifier and Type | Method and Description |
---|---|
<V extends ModelElementInstance> |
QueryImpl.filterByType(ModelElementType elementType) |
Modifier and Type | Method and Description |
---|---|
abstract ModelElementType |
ModelBuilder.defineGenericType(String typeName,
String typeNamespaceUri) |
ModelElementType |
Model.getType(Class<? extends ModelElementInstance> instanceClass)
Gets the defined
ModelElementType of a ModelElementInstance . |
ModelElementType |
Model.getTypeForName(String typeName)
Gets the defined
ModelElementType for a type by its name. |
ModelElementType |
Model.getTypeForName(String namespaceUri,
String typeName)
Gets the defined
ModelElementType for a type by its name and namespace URI. |
Modifier and Type | Method and Description |
---|---|
Collection<ModelElementType> |
Model.getTypes()
Gets the collection of all
ModelElementType defined in the model. |
Modifier and Type | Method and Description |
---|---|
Collection<ModelElementInstance> |
ModelInstance.getModelElementsByType(ModelElementType referencingType)
Find all elements of a type.
|
<T extends ModelElementInstance> |
ModelInstance.newInstance(ModelElementType type)
Creates a new instance of type.
|
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ModelBuilderImpl.defineGenericType(String typeName,
String typeNamespaceUri) |
ModelElementType |
ModelImpl.getType(Class<? extends ModelElementInstance> instanceClass) |
ModelElementType |
ModelImpl.getTypeForName(String typeName) |
ModelElementType |
ModelImpl.getTypeForName(String namespaceUri,
String typeName) |
ModelElementType |
ModelInstanceImpl.registerGenericType(String namespaceUri,
String localName) |
Modifier and Type | Method and Description |
---|---|
Collection<ModelElementType> |
ModelImpl.getTypes() |
Modifier and Type | Method and Description |
---|---|
Collection<ModelElementInstance> |
ModelInstanceImpl.getModelElementsByType(ModelElementType type) |
<T extends ModelElementInstance> |
ModelInstanceImpl.newInstance(ModelElementType type) |
void |
ModelImpl.registerType(ModelElementType modelElementType,
Class<? extends ModelElementInstance> instanceType)
Registers a
ModelElementType in this Model . |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ModelElementInstanceImpl.getElementType() |
Modifier and Type | Method and Description |
---|---|
Collection<ModelElementInstance> |
ModelElementInstanceImpl.getChildElementsByType(ModelElementType childElementType) |
Modifier and Type | Class and Description |
---|---|
class |
ModelElementTypeImpl |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ModelElementTypeBuilderImpl.build() |
ModelElementType |
ModelElementTypeImpl.getBaseType() |
Modifier and Type | Method and Description |
---|---|
List<ModelElementType> |
ModelElementTypeImpl.getAllChildElementTypes() |
Collection<ModelElementType> |
ModelElementTypeImpl.getAllExtendingTypes() |
List<ModelElementType> |
ModelElementTypeImpl.getChildElementTypes() |
Collection<ModelElementType> |
ModelElementTypeImpl.getExtendingTypes() |
Modifier and Type | Method and Description |
---|---|
ChildElementCollection<?> |
ModelElementTypeImpl.getChildElementCollection(ModelElementType childElementType) |
boolean |
ModelElementTypeImpl.isBaseTypeOf(ModelElementType elementType)
Test if a element type is a base type of this type.
|
void |
ModelElementTypeImpl.registerChildElementType(ModelElementType childElementType) |
void |
ModelElementTypeImpl.registerExtendingType(ModelElementType modelType) |
Modifier and Type | Method and Description |
---|---|
void |
ModelElementTypeImpl.resolveBaseTypes(List<ModelElementType> baseTypes)
Resolve all types which are base types of this type
|
void |
ModelElementTypeImpl.resolveExtendingTypes(Set<ModelElementType> allExtendingTypes)
Resolve all types recursively which are extending this type
|
Modifier and Type | Method and Description |
---|---|
ModelElementType |
AttributeImpl.getOwningElementType() |
Constructor and Description |
---|
BooleanAttribute(ModelElementType owningElementType) |
EnumAttribute(ModelElementType owningElementType,
Class<T> type) |
NamedEnumAttribute(ModelElementType owningElementType,
Class<T> type) |
StringAttribute(ModelElementType owningElementType) |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ChildElementCollectionImpl.getChildElementType(Model model) |
ModelElementType |
ChildElementCollectionImpl.getParentElementType() |
Constructor and Description |
---|
ChildElementBuilderImpl(Class<T> childElementTypeClass,
ModelElementType parentElementType) |
ChildElementCollectionBuilderImpl(Class<T> childElementTypeClass,
ModelElementType parentElementType) |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ElementReferenceCollectionImpl.getReferenceSourceElementType() |
ModelElementType |
AttributeReferenceImpl.getReferenceSourceElementType() |
Modifier and Type | Method and Description |
---|---|
static Collection<ModelElementType> |
ModelUtil.calculateAllBaseTypes(ModelElementType type)
Calculate a collection of all base types for the given type
|
static Collection<ModelElementType> |
ModelUtil.calculateAllExtendingTypes(Model model,
Collection<ModelElementType> baseTypes)
Calculate a collection of all extending types for the given base types
|
Modifier and Type | Method and Description |
---|---|
static Collection<ModelElementType> |
ModelUtil.calculateAllBaseTypes(ModelElementType type)
Calculate a collection of all base types for the given type
|
static String |
ModelUtil.getUniqueIdentifier(ModelElementType type) |
static void |
ModelUtil.setGeneratedUniqueIdentifier(ModelElementType type,
ModelElementInstance modelElementInstance)
Set unique identifier if the type has a String id attribute
|
Modifier and Type | Method and Description |
---|---|
static Collection<ModelElementType> |
ModelUtil.calculateAllExtendingTypes(Model model,
Collection<ModelElementType> baseTypes)
Calculate a collection of all extending types for the given base types
|
static int |
ModelUtil.getIndexOfElementType(ModelElementInstance modelElement,
List<ModelElementType> childElementTypes)
Find the index of the type of a model element in a list of element types
|
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ModelElementInstance.getElementType()
Returns the element type of this.
|
Modifier and Type | Method and Description |
---|---|
Collection<ModelElementInstance> |
ModelElementInstance.getChildElementsByType(ModelElementType childElementType)
Return all child elements of a given type
|
Modifier and Type | Field and Description |
---|---|
ModelElementType |
AbstractModelElementInstanceTest.ChildElementAssumption.childElementType |
ModelElementType |
AbstractModelElementInstanceTest.TypeAssumption.extendsType |
static ModelElementType |
AbstractModelElementInstanceTest.modelElementType |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
GetModelElementTypeRule.getModelElementType() |
ModelElementType |
AbstractModelElementInstanceTest.getType(Class<? extends ModelElementInstance> instanceClass) |
Modifier and Type | Method and Description |
---|---|
ChildElementAssert |
AbstractModelElementInstanceTest.assertThatChildElement(ModelElementType childElementType) |
Modifier and Type | Method and Description |
---|---|
static ModelElementTypeAssert |
ModelAssertions.assertThat(ModelElementType actual) |
ModelElementTypeAssert |
ModelElementTypeAssert.extendsType(ModelElementType baseType) |
ModelElementTypeAssert |
ModelElementTypeAssert.hasChildElements(ModelElementType... types) |
AttributeAssert |
AttributeAssert.hasOwningElementType(ModelElementType owningElementType) |
ChildElementAssert |
ChildElementAssert.hasParentElementType(ModelElementType parentElementType) |
ModelElementTypeAssert |
ModelElementTypeAssert.isExtendedBy(ModelElementType... types) |
ModelElementTypeAssert |
ModelElementTypeAssert.isNotExtendedBy(ModelElementType... types) |
Constructor and Description |
---|
ModelElementTypeAssert(ModelElementType actual) |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ModelElementTypeBuilder.build() |
ModelElementType |
ModelElementType.getBaseType() |
Modifier and Type | Method and Description |
---|---|
List<ModelElementType> |
ModelElementType.getAllChildElementTypes() |
Collection<ModelElementType> |
ModelElementType.getAllExtendingTypes() |
List<ModelElementType> |
ModelElementType.getChildElementTypes() |
Collection<ModelElementType> |
ModelElementType.getExtendingTypes() |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
Attribute.getOwningElementType() |
Modifier and Type | Method and Description |
---|---|
ModelElementType |
ChildElementCollection.getChildElementType(Model model)
Get the model element type of the elements contained in this collection.
|
ModelElementType |
ChildElementCollection.getParentElementType()
Get the model element type of the element owns the collection
|
Modifier and Type | Method and Description |
---|---|
ModelElementType |
Reference.getReferenceSourceElementType() |
Copyright © 2017. All rights reserved.