<detailskey="body"value="
 if (self = element) then
 true
 else
 if (self.oclIsKindOf(AnnotationType) and not self.oclAsType(AnnotationType).extension.oclIsUndefined()) then
 self.oclAsType(AnnotationType).extension.isExtending(element)
 else
 if (self.oclIsKindOf(ComponentType) and not self.oclAsType(ComponentType).extension.oclIsUndefined()) then
 self.oclAsType(ComponentType).extension.isExtending(element)
 else
 if (self.oclIsKindOf(GateType) and not self.oclAsType(GateType).extension.oclIsUndefined()) then
 self.oclAsType(GateType).extension.isExtending(element)
 else
 if (self.oclIsKindOf(StructuredDataType)) then
 self.oclAsType(StructuredDataType).extension->exists(ex | ex.isExtending(element))
 else
 if (self.oclIsKindOf(SimpleDataType) and not self.oclAsType(SimpleDataType).extension.oclIsUndefined()) then
 self.oclAsType(SimpleDataType).extension.isExtending(element)
 else
 false
 endif
 endif
 endif
 endif
 endif
 endif
 "/>
<detailskey="body"value="
 if (self = n) then
 true
 else
 if (self.oclIsKindOf(AnnotationType) and not self.oclAsType(AnnotationType).extension.oclIsUndefined()) then
 self.oclAsType(AnnotationType).extension.isExtending(n)
 else
 if (self.oclIsKindOf(ComponentType) and not self.oclAsType(ComponentType).extension.oclIsUndefined()) then
 self.oclAsType(ComponentType).extension.isExtending(n)
 else
 if (self.oclIsKindOf(GateType) and not self.oclAsType(GateType).extension.oclIsUndefined()) then
 self.oclAsType(GateType).extension.isExtending(n)
 else
 if (self.oclIsKindOf(StructuredDataType)) then
 self.oclAsType(StructuredDataType).extension->exists(ex | ex.isExtending(n))
 else
 if (self.oclIsKindOf(SimpleDataType) and not self.oclAsType(SimpleDataType).extension.oclIsUndefined()) then
 self.oclAsType(SimpleDataType).extension.isExtending(n)
 else
 false
 endif
 endif
 endif
 endif
 endif
 endif
 "/>