Package org.metaworks.validator

Examples of org.metaworks.validator.Validator


    type.removeFieldDescriptor("ForeignKey");
    type.removeFieldDescriptor("Type");

    fd = type.getFieldDescriptor("Inputter");
    fd.setValidators(new Validator[]{
      new Validator(){

        public String validate(Object data, Instance instance) {
          Inputter inputter = (Inputter)data;
          Class type = (Class)instance.getFieldValue("Type");
View Full Code Here


    }*/;
   
    inputter.setEditable(true);
   
    fd.setValidators(new Validator[]{
      new Validator(){
     
        public String validate(Object data, Instance instance){
          if(org.uengine.util.UEngineUtil.isNotEmpty((String)data)) return null;
          return ("Should be set");
        }
View Full Code Here

    type.removeFieldDescriptor("FilePath");
   
    fd = type.getFieldDescriptor("DocumentDefId");
    XMLValueInput inputter = new XMLValueInput("/processmanager/processDefinitionListXML.jsp?omitVersion=false&objectType=excel");   
    fd.setValidators(new Validator[]{
      new Validator(){
     
        public String validate(Object data, Instance instance){
          if(org.uengine.util.UEngineUtil.isNotEmpty((String)data)) return null;
          return ("Should be set");
        }
View Full Code Here

TOP

Related Classes of org.metaworks.validator.Validator

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.