@ SuppressWarnings ( "checkstyle:magicnumber" ) private boolean setChild7 ( N newChild ) { if ( this . child7 == newChild ) { return false ; } if ( this . child7 != null ) { this . child7 . setParentNodeReference ( null , true ) ; -- this . notNullChildCount ; firePropertyChildRemoved ( 6 , this . child7 ) ; } if ( newChild != null ) { final N oldParent = newChild . getParentNode ( ) ; if ( oldParent != this ) { newChild . removeFromParent ( ) ; } } this . child7 = newChild ; if ( newChild != null ) { newChild . setParentNodeReference ( toN ( ) , true ) ; ++ this . notNullChildCount ; firePropertyChildAdded ( 6 , newChild ) ; } return true ; }
Set the child 7 .