entity = (Service) inputLoop(Service.class);
else if (Unknown.getName(version).equals(entityType))
entity = (Unknown) inputLoop(Unknown.class);
if (Creator.getName(version).equals(producerType))
return (new Creator(entity, null, attr));
if (Contributor.getName(version).equals(producerType))
return (new Creator(entity, null, attr));
if (Publisher.getName(version).equals(producerType))
return (new Publisher(entity, null, attr));
if (PointOfContact.getName(version).equals(producerType))
return (new PointOfContact(entity, Util.getXsListAsList(pocTypes), attr));
throw new InvalidDDMSException("Unknown producerType: " + producerType);