1 package de.matthias_burbach.mosaique.core.model; 2 3 import java.util.List; 4 5 /*** 6 * Is the internal representation of a Struts configuration file. 7 * 8 * @author Matthias Burbach 9 */ 10 public class StrutsConfig extends AbstractFileItem { 11 /*** 12 * The name without the path of the underlying Struts configuration file. 13 */ 14 private String name; 15 16 /*** 17 * The logical pages of type {@link LogicalPage} defined in this Struts 18 * configuration. 19 */ 20 private List logicalPages; 21 22 /*** 23 * The list of relative paths to the Tiles definitions files referenced in 24 * this Struts config's Tiles plugin element. 25 */ 26 private List definitionsConfigValues; 27 28 /*** 29 * @return The logical pages of type {@link LogicalPage} defined in this 30 * Struts configuration. 31 */ 32 public List getLogicalPages() { 33 return logicalPages; 34 } 35 36 /*** 37 * @param logicalPages The logical pages of type {@link LogicalPage} defined 38 * in this Struts configuration. 39 */ 40 public void setLogicalPages(final List logicalPages) { 41 this.logicalPages = logicalPages; 42 } 43 44 /*** 45 * @return The name without the path of the underlying Struts configuration 46 * file. 47 */ 48 public String getName() { 49 return name; 50 } 51 52 /*** 53 * @param name The name without the path of the underlying Struts 54 * configuration file. 55 */ 56 public void setName(final String name) { 57 this.name = name; 58 } 59 60 /*** 61 * @return The list of relative paths to the Tiles definitions files 62 * referenced in this Struts config's Tiles plugin element. 63 */ 64 public List getDefinitionsConfigValues() { 65 return definitionsConfigValues; 66 } 67 68 /*** 69 * @param definitionsConfigValues The list of relative paths to the Tiles 70 * definitions files referenced in this 71 * Struts config's Tiles plugin element. 72 */ 73 public void setDefinitionsConfigValues(final List definitionsConfigValues) { 74 this.definitionsConfigValues = definitionsConfigValues; 75 } 76 }