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

org.babyfish.jimmer.sql.fetcher.impl.Ids Maven / Gradle / Ivy

The newest version!
package org.babyfish.jimmer.sql.fetcher.impl;

import org.babyfish.jimmer.runtime.ImmutableSpi;

public class Ids {

    private Ids() {}

    public static Object idOf(ImmutableSpi spi) {
        if (spi == null) {
            return null;
        }
        return spi.__get(spi.__type().getIdProp().getId());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy