XTargetGroup.java :  » XML-UI » xui32 » com » xoetrope » carousel » survey » Java Open Source

Java Open Source » XML UI » xui32 
xui32 » com » xoetrope » carousel » survey » XTargetGroup.java
package com.xoetrope.carousel.survey;

import com.xoetrope.carousel.survey.XQuestionGroup;

/**
 * A wrapper class for QuestionGroup, instances of ie
 * are used as the model elements for combo boxes.
 *
 * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
 * the GNU Public License (GPL), please see license.txt for more details. If
 * you make commercial use of this software you must purchase a commercial
 * license from Xoetrope.</p>
 * <p> $Revision: 1.5 $</p>
 */
public class XTargetGroup
{    
  protected XQuestionGroup group;
  
  public XTargetGroup( XQuestionGroup g )
  {
    group = g;
  }
  
  public String toString()
  {
    return ( group != null ? group.toString() : "none" );
  }
  
  public XQuestionGroup getGroup()
  {
    return group;
  }
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.