01: package com.xoetrope.carousel.survey;
02:
03: import com.xoetrope.carousel.survey.XQuestionGroup;
04:
05: /**
06: * A wrapper class for QuestionGroup, instances of ie
07: * are used as the model elements for combo boxes.
08: *
09: * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
10: * the GNU Public License (GPL), please see license.txt for more details. If
11: * you make commercial use of this software you must purchase a commercial
12: * license from Xoetrope.</p>
13: * <p> $Revision: 1.5 $</p>
14: */
15: public class XTargetGroup {
16: protected XQuestionGroup group;
17:
18: public XTargetGroup(XQuestionGroup g) {
19: group = g;
20: }
21:
22: public String toString() {
23: return (group != null ? group.toString() : "none");
24: }
25:
26: public XQuestionGroup getGroup() {
27: return group;
28: }
29:
30: }
|