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);
}
});
CONSTRUCTOR_BUILDERS.put(Person.class, new IConstructorBuilder() {
public IDDMSComponent build() throws IOException, InvalidDDMSException {