FileDocCategorySizeDatePackage
ValidCoachPredicate.javaAPI DocExample1233Wed May 18 09:39:00 BST 2005com.discursive.jccook.collections.predicate

ValidCoachPredicate

public class ValidCoachPredicate extends Object implements org.apache.commons.collections.Predicate

Fields Summary
Constructors Summary
Methods Summary
public booleanevaluate(java.lang.Object object)

		boolean validCoach = false;
		Team team = (Team) object;
		if( team.getCoach() != null && 
			team.getCoach().getFirstName() != null &&
			team.getCoach().getLastName() != null ) {
			validCoach = true;
		}
		return validCoach;