@ CheckForNull public < T extends NodeProperty > T getNodeProperty ( Class < T > clazz ) { for ( NodeProperty p : getNodeProperties ( ) ) { if ( clazz . isInstance ( p ) ) { return clazz . cast ( p ) ; } } return null ; }
Gets the specified property or null if the property is not configured for this Node .