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