@ Override public final Principal getOwnerNode ( ) { if ( cachedOwnerNode == null ) { final Ownership ownership = getIncomingRelationshipAsSuperUser ( PrincipalOwnsNode . class ) ; if ( ownership != null ) { Principal principal = ownership . getSourceNode ( ) ; cachedOwnerNode = ( Principal ) principal ; } } return cachedOwnerNode ; }
Returns the owner node of this node following an INCOMING OWNS relationship .