View Javadoc

1   package org.srinivas.siteworks.dbrestserver.utilities;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   
6   import javax.xml.bind.annotation.XmlAccessType;
7   import javax.xml.bind.annotation.XmlAccessorType;
8   import javax.xml.bind.annotation.XmlElement;
9   import javax.xml.bind.annotation.XmlRootElement;
10  
11  /**
12   * The Class FireWorks.
13   */
14  @XmlRootElement(name = "fireworks",namespace="urn:fireworks")
15  @XmlAccessorType(XmlAccessType.FIELD)
16  public class FireWorks {
17  	@XmlElement(name = "firework",namespace="urn:firework")
18  	private List<FireWork> fireworks = new ArrayList<FireWork>();
19  
20  	/**
21  	 * Gets the fireworks.
22  	 *
23  	 * @return the fireworks
24  	 */
25  	public List<FireWork> getFireworks() {
26  		return fireworks;
27  	}
28  
29  	/**
30  	 * Sets the fireworks.
31  	 *
32  	 * @param fireworks the new fireworks
33  	 */
34  	public void setFireworks(List<FireWork> fireworks) {
35  		this.fireworks = fireworks;
36  	}
37  }