SelItem.java :  » Web-Server » HttpdBase4J » net » homeip » donaldm » testng » templates » Java Open Source

Java Open Source » Web Server » HttpdBase4J 
HttpdBase4J » net » homeip » donaldm » testng » templates » SelItem.java
package net.homeip.donaldm.testng.templates;

public class SelItem
{
   String key, value;
   boolean selected = false;
   
   public SelItem(String key, String value)
   {
      this.key = key;
      this.value = value;
   }
   
   public SelItem(String key, String value, boolean isSelected)
   {
      this.key = key;
      this.value = value;
      this.selected = isSelected;
   }
   
   public String getKey() { return key; }
   
   public String getValue() { return value; }
   
   public boolean isSelected() { return selected; } 
}
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.