com.rosetta.trans.model.meta.Y4Meta Maven / Gradle / Ivy
package com.rosetta.trans.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.trans.model.Y4;
import com.rosetta.trans.model.validation.Y4TypeFormatValidator;
import com.rosetta.trans.model.validation.Y4Validator;
import com.rosetta.trans.model.validation.exists.Y4OnlyExistsValidator;
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=Y4.class)
public class Y4Meta implements RosettaMetaData {
@Override
public List> dataRules(ValidatorFactory factory) {
return Arrays.asList(
);
}
@Override
public List> getQualifyFunctions(QualifyFunctionFactory factory) {
return Collections.emptyList();
}
@Override
public Validator super Y4> validator() {
return new Y4Validator();
}
@Override
public Validator super Y4> typeFormatValidator() {
return new Y4TypeFormatValidator();
}
@Override
public ValidatorWithArg super Y4, Set> onlyExistsValidator() {
return new Y4OnlyExistsValidator();
}
}