Collection metadataValues = getMetaDataAttributes().values(); if (metadataValues != null) { Iterator iter = metadataValues.iterator();
Map metadataAttributes = getMetaDataAttributes(); Collection keys = metadataAttributes.keySet();  if(keys!=null){  Iterator iter = keys.iterator();
	public Custodian getCustodian(String relation) {		Collection metadataValues = getMetaDataAttributes().values();		if (metadataValues != null) {			Iterator iter = metadataValues.iterator();			while (iter.hasNext()) {				Object value = iter.next();				if (value.equals(relation)) {					try {						return getCustodianByPrimaryKey(value);					}					catch (FinderException fe) {						log(fe);					}				}			}		}				return null;	}