All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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