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