Package com.uwyn.rife.site

Examples of com.uwyn.rife.site.ConstrainedProperty


    init();
  }
 
  private void init()
  {
    addConstraint(new ConstrainedProperty("nickname").notNull(true).notEmpty(true).maxLength(30));
    addConstraint(new ConstrainedProperty("moment").notNull(true));
    addConstraint(new ConstrainedProperty("message").notNull(true));
    addConstraint(new ConstrainedProperty("raw").notNull(true));
    }
View Full Code Here


    init();
  }
 
  private void init()
  {
    addConstraint(new ConstrainedProperty("id").notNull(true));
    addConstraint(new ConstrainedProperty("name").notNull(true).notEmpty(true).maxLength(255));
    addConstraint(new ConstrainedProperty("lowcasekey").notNull(true).notEmpty(true).maxLength(255));
    addConstraint(new ConstrainedProperty("answer").notNull(true).notEmpty(true));
    addConstraint(new ConstrainedProperty("random").notNull(true).defaultValue(false));
    }
View Full Code Here

    {
    }
   
    public void activateValidation()
    {
      addConstraint(new ConstrainedProperty("bot").notNull(true).notEmpty(true));
      addConstraint(new ConstrainedProperty("target").notNull(true).notEmpty(true));
      addConstraint(new ConstrainedProperty("message").notNull(true).notEmpty(true));
    }
View Full Code Here

          }
        }
       
        new SortListComparables().sort(channels);
 
        addConstraint(new ConstrainedProperty("channel")
                  .inList((String[])channels.toArray(new String[0])));
        addConstraint(new ConstrainedProperty("keyword").notNull(true).notEmpty(true));
      }
    }
View Full Code Here

TOP

Related Classes of com.uwyn.rife.site.ConstrainedProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.