com.rosetta.teststruct.model.meta.StructA11Meta Maven / Gradle / Ivy
The newest version!
package com.rosetta.teststruct.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.teststruct.model.StructA11;
import com.rosetta.teststruct.model.validation.StructA11TypeFormatValidator;
import com.rosetta.teststruct.model.validation.StructA11Validator;
import com.rosetta.teststruct.model.validation.exists.StructA11OnlyExistsValidator;
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=StructA11.class)
public class StructA11Meta implements RosettaMetaData {
@Override
public List> dataRules(ValidatorFactory factory) {
return Arrays.asList(
);
}
@Override
public List> getQualifyFunctions(QualifyFunctionFactory factory) {
return Collections.emptyList();
}
@Override
public Validator super StructA11> validator() {
return new StructA11Validator();
}
@Override
public Validator super StructA11> typeFormatValidator() {
return new StructA11TypeFormatValidator();
}
@Override
public ValidatorWithArg super StructA11, Set> onlyExistsValidator() {
return new StructA11OnlyExistsValidator();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy