com.rosetta.metatest.model.meta.Observable13_2Meta Maven / Gradle / Ivy
package com.rosetta.metatest.model.meta;
import com.rosetta.metatest.model.Observable13_2;
import com.rosetta.metatest.model.validation.Observable13_2TypeFormatValidator;
import com.rosetta.metatest.model.validation.Observable13_2Validator;
import com.rosetta.metatest.model.validation.exists.Observable13_2OnlyExistsValidator;
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=Observable13_2.class)
public class Observable13_2Meta implements RosettaMetaData {
@Override
public List> dataRules(ValidatorFactory factory) {
return Arrays.asList(
factory.create(com.rosetta.metatest.model.validation.datarule.Observable132Choice.class)
);
}
@Override
public List> getQualifyFunctions(QualifyFunctionFactory factory) {
return Collections.emptyList();
}
@Override
public Validator super Observable13_2> validator() {
return new Observable13_2Validator();
}
@Override
public Validator super Observable13_2> typeFormatValidator() {
return new Observable13_2TypeFormatValidator();
}
@Override
public ValidatorWithArg super Observable13_2, Set> onlyExistsValidator() {
return new Observable13_2OnlyExistsValidator();
}
}