com.rosetta.metatest.model.meta.Party1Meta Maven / Gradle / Ivy
package com.rosetta.metatest.model.meta;
import com.rosetta.metatest.model.Party1;
import com.rosetta.metatest.model.validation.Party1TypeFormatValidator;
import com.rosetta.metatest.model.validation.Party1Validator;
import com.rosetta.metatest.model.validation.exists.Party1OnlyExistsValidator;
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 java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.function.Function;
/**
* @version test
*/
@RosettaMeta(model=Party1.class)
public class Party1Meta implements RosettaMetaData {
@Override
public List> dataRules(ValidatorFactory factory) {
return Arrays.asList(
);
}
@Override
public List> getQualifyFunctions(QualifyFunctionFactory factory) {
return Collections.emptyList();
}
@Override
public Validator super Party1> validator() {
return new Party1Validator();
}
@Override
public Validator super Party1> typeFormatValidator() {
return new Party1TypeFormatValidator();
}
@Override
public ValidatorWithArg super Party1, Set> onlyExistsValidator() {
return new Party1OnlyExistsValidator();
}
}