01: package org.wings.conf;
02:
03: import javax.xml.bind.annotation.XmlRootElement;
04: import javax.xml.bind.annotation.XmlAccessType;
05: import javax.xml.bind.annotation.XmlAccessorType;
06: import javax.xml.bind.annotation.XmlElement;
07:
08: /**
09: * <code>Configuration<code>.
10: * <p/>
11: * User: rrd
12: * Date: 08.08.2007
13: * Time: 09:00:30
14: *
15: * @author rrd
16: * @version $Id
17: */
18: @XmlRootElement(name="configuration")
19: @XmlAccessorType(XmlAccessType.NONE)
20: public class Configuration {
21:
22: // @XmlElement(name = "cmsDetail", required = false)
23: // private Collection<CMSConfiguration> cmsDetail = new ArrayList<CMSConfiguration>();
24: //
25: // public Collection<CMSConfiguration> getCmsDetail() {
26: // return cmsDetail;
27: // }
28: //
29: // public void setCmsDetail(Collection<CMSConfiguration> cmsDetail) {
30: // this.cmsDetail = cmsDetail;
31: // }
32:
33: @XmlElement(name="cms-detail",required=true)
34: private CmsDetail cmsDetail;
35:
36: public CmsDetail getCmsDetail() {
37: return cmsDetail;
38: }
39:
40: public void setCmsDetail(CmsDetail cmsDetail) {
41: this.cmsDetail = cmsDetail;
42: }
43: }
|