src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java
/**
	 * search a referenced resource from a list of (contained) resources.
	 * @param ref
	 * @param contained
	 * @return
	 */
search a referenced resource from a list of (contained) resources.
@param ref
@param contained
@return
search a referenced resource from a list of ( contained ) resources . @param ref @param contained @return
public Resource findResource(Reference ref, List<Resource> contained) {
		for (Resource res : contained) {
			if (res.getId().equals(ref.getReference())) return res;
		}
		return null;
	}
public Resource findResource ( Reference ref , List < Resource > contained ) { for ( Resource res : contained ) { if ( res . getId ( ) . equals ( ref . getReference ( ) ) ) return res ; } return null ; }
search a referenced resource from a list of (contained) resources.
search a referenced resource from a list of ( contained ) resources .