{
ReferenceDTO[] dtos = new ReferenceDTO[dependencies.size()];
int i = 0;
for (ReferenceMetadata r: dependencies)
{
ReferenceDTO dto = new ReferenceDTO();
dto.bind = r.getBind();
dto.cardinality = r.getCardinality();
dto.interfaceName = r.getInterface();
dto.name = r.getName();
dto.policy = r.getPolicy();