![JAR search and dependency download from the Maven repository](/logo.png)
com.jn.sqlhelper.common.ddl.model.internal.FkInitiallyRuleConverter Maven / Gradle / Ivy
package com.jn.sqlhelper.common.ddl.model.internal;
import com.jn.langx.Converter;
public class FkInitiallyRuleConverter implements Converter {
public boolean isConvertible(Class sourceClass, Class targetClass) {
return sourceClass==Integer.class || sourceClass ==Integer.TYPE;
}
@Override
public FkInitiallyRule apply(Integer input) {
return FkInitiallyRule.ofCode(input);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy