if (md.getSchemaAssignment() == null)
return;
for (Iterator assignments = md.getSchemaAssignment().iterator(); assignments.hasNext();)
{
SchemaAssignmentDescriptor sad = (SchemaAssignmentDescriptor) assignments.next();
SchemaAssignment schemaAssignment = new SchemaAssignment(sad.getConfigurationId(), sad.getSchemaId(), sad.getLocation());
module.addSchemaAssignment(schemaAssignment);
}
}