public boolean isBaseTypeOf ( ModelElementType elementType ) { if ( this . equals ( elementType ) ) { return true ; } else { Collection < ModelElementType > baseTypes = ModelUtil . calculateAllBaseTypes ( elementType ) ; return baseTypes . contains ( this ) ; } }
Test if a element type is a base type of this type . So this type extends the given element type .