public Attribute getTypeAttribute ( ) { final Attribute ret ; if ( this . typeAttributeName == null && getParentType ( ) != null ) { ret = getParentType ( ) . getTypeAttribute ( ) ; } else { ret = this . attributes . get ( this . typeAttributeName ) ; } return ret ; }
Get the attribute containing the type information .