@ SuppressWarnings ( "rawtypes" ) public boolean containsAll ( Collection c ) { if ( c == null ) throw new NullPointerException ( "null collection!" ) ; for ( Iterator it = c . iterator ( ) ; it . hasNext ( ) ; ) { if ( ! contains ( it . next ( ) ) ) { return false ; } } if ( logger . isDebugEnabled ( ) ) { logger . debug ( "containsAll : collection = " + c + " > all in child relation" ) ; } return true ; }
This method returns true if all SBB entities represented by the SBB local objects in the collection specified by the input argument are members of this child relation . If the collection contains an object that is not an SBB local object an SBB local object that is invalid or an SBB local object whose underlying SBB entity is not a member of this child relation then this method returns false .