public boolean isSuperClass ( String otherClassName ) { if ( getClassWeAreModelling ( ) . getName ( ) . equals ( otherClassName ) ) { return true ; } else if ( superClazz != null ) { return superClazz . isSuperClass ( otherClassName ) ; } else { return false ; } }
Determine if this is the superclass of some other named class .