com.rosetta.test.conditionfunc.model.meta.Top4Meta Maven / Gradle / Ivy
package com.rosetta.test.conditionfunc.model.meta;
import com.rosetta.model.lib.annotations.RosettaMeta;
import com.rosetta.model.lib.meta.RosettaMetaData;
import com.rosetta.model.lib.qualify.QualifyFunctionFactory;
import com.rosetta.model.lib.qualify.QualifyResult;
import com.rosetta.model.lib.validation.Validator;
import com.rosetta.model.lib.validation.ValidatorFactory;
import com.rosetta.model.lib.validation.ValidatorWithArg;
import com.rosetta.test.conditionfunc.model.Top4;
import com.rosetta.test.conditionfunc.model.validation.Top4TypeFormatValidator;
import com.rosetta.test.conditionfunc.model.validation.Top4Validator;
import com.rosetta.test.conditionfunc.model.validation.exists.Top4OnlyExistsValidator;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.function.Function;
/**
* @version test
*/
@RosettaMeta(model=Top4.class)
public class Top4Meta implements RosettaMetaData {
@Override
public List> dataRules(ValidatorFactory factory) {
return Arrays.asList(
);
}
@Override
public List> getQualifyFunctions(QualifyFunctionFactory factory) {
return Collections.emptyList();
}
@Override
public Validator super Top4> validator() {
return new Top4Validator();
}
@Override
public Validator super Top4> typeFormatValidator() {
return new Top4TypeFormatValidator();
}
@Override
public ValidatorWithArg super Top4, Set> onlyExistsValidator() {
return new Top4OnlyExistsValidator();
}
}