package refactoring.struts; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.apache.struts.config.ModuleConfig; import refactoring.struts.beans.FormBean; import refactoring.struts.beans.MappingAnnotationBean; public class ModuleAnnotations implements Serializable { private static final long serialVersionUID = 1527257073078266058L; private transient ModuleConfig moduleConfig; private transient LogMissingDispatchAction missingDAs; private List createdFormBeans; private String modulePrefix; private final List mappingAnnotations; private List interModuleConflictMappings; public ModuleAnnotations() { mappingAnnotations = new ArrayList(); } public ModuleAnnotations(ModuleConfig moduleConfig) { this.moduleConfig = moduleConfig; this.modulePrefix = moduleConfig.getPrefix(); mappingAnnotations = new ArrayList(); } public LogMissingDispatchAction getMissingDAs() { return missingDAs; } public List getCreatedFormBeans() { return createdFormBeans; } public void setMissingDAs(LogMissingDispatchAction missingDAs) { this.missingDAs = missingDAs; } public void setCreatedFormBeans(List createdFormBeans) { this.createdFormBeans = createdFormBeans; } public List getMappingAnnotations() { return this.mappingAnnotations; } public void addMappingAnnotation(MappingAnnotationBean annotation) { this.mappingAnnotations.add(annotation); } public ModuleConfig getModuleConfig() { return moduleConfig; } public String getModulePrefix() { return modulePrefix; } public List getInterModuleConflictMappings() { return interModuleConflictMappings; } public void setInterModuleConflictMappings(List interModuleConflictMappings) { this.interModuleConflictMappings = interModuleConflictMappings; } }