All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cybermkd.kit.MongoValidate Maven / Gradle / Ivy

package com.cybermkd.kit;

/**
 * 创建人:T-baby
 * 创建日期: 16/7/25
 * 文件描述:
 */
public class MongoValidate {


    String validateErrorMessage = "";

    public boolean validation() {
        validateErrorMessage = MongoKit.INSTANCE.validation(this);
        return validateErrorMessage.isEmpty();
    }

    public boolean validation(String... keys) {
        validateErrorMessage = MongoKit.INSTANCE.validation(this, keys);
        return validateErrorMessage.isEmpty();
    }

    public String errorMessage() {
        return validateErrorMessage;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy