If you think the Android project Ada-Framework-Maven listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/**
Copyright Mob&Me 2012 (@MobAndMe)
//fromwww.java2s.com
Licensed under the LGPL Lesser General Public License, Version 3.0 (the "License"),
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.gnu.org/licenses/lgpl.html
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Website: http://adaframework.com
Contact: Txus Ballesteros <txus.ballesteros@mobandme.com>
*/package com.mobandme.ada.validators;
import java.lang.reflect.Field;
import com.mobandme.ada.Entity;
/**
* Base class for all validations.
* @version 2.4.3
* @author Mob&Me
*/publicabstractclass Validator {
/**
* Execute the validation process.
* @return Validation process Result.
* @param pValue Value to validate.
* @param pEntity Instance of Entity.
* @param pField Entity field.
* @param pAnnotation Instance of Entity Property Annotation.
* @return
*/public Boolean Validate(Entity pEntity, Field pField, Object pAnnotation, Object pValue) {
return null;
}
}