public static List<VigilancyWithCredits> getAllVigilancyWithCredits(Vigilant vigilant) { List<VigilancyWithCredits> vigilancies = new ArrayList<VigilancyWithCredits>(); for(VigilancyWithCredits vigilancy : getAllVigilancyWithCredits()) { if(vigilancy.getVigilant().equals(vigilant)) { vigilancies.add(vigilancy); }
public static List<VigilancyWithCredits> getAllVigilancyWithCredits() { List<VigilancyWithCredits> vigilancys = new ArrayList<VigilancyWithCredits>(); for(Vigilancy vigilancy : RootDomainObject.getInstance().getVigilancys()) { if (vigilancy instanceof VigilancyWithCredits) { VigilancyWithCredits vigilancyWithCredits = (VigilancyWithCredits) vigilancy; vigilancys.add(vigilancyWithCredits); }
    public static List<VigilancyWithCredits> getAllVigilancyWithCredits(Vigilant vigilant) {    	List<VigilancyWithCredits> vigilancies = new ArrayList<VigilancyWithCredits>();    	for(VigilancyWithCredits vigilancy : getAllVigilancyWithCredits()) {    		if(vigilancy.getVigilant().equals(vigilant)) {    			vigilancies.add(vigilancy);    		}    	}    	return vigilancies;    }