org.babyfish.jimmer.client.meta.Metadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-client Show documentation
Show all versions of jimmer-client Show documentation
A revolutionary ORM framework for both java and kotlin
package org.babyfish.jimmer.client.meta;
import kotlin.reflect.KFunction;
import kotlin.reflect.KType;
import org.babyfish.jimmer.client.meta.impl.MetadataBuilder;
import org.babyfish.jimmer.meta.ImmutableType;
import org.babyfish.jimmer.sql.ast.tuple.Tuple2;
import org.babyfish.jimmer.sql.fetcher.Fetcher;
import org.jetbrains.annotations.Nullable;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.AnnotatedType;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.*;
import java.util.stream.Collectors;
public interface Metadata {
Map, Service> getServices();
Map, StaticObjectType> getGenericTypes();
Map getStaticTypes();
Map, EnumType> getEnumTypes();
Map, ImmutableObjectType> getFetchedImmutableObjectTypes();
Map getViewImmutableObjectTypes();
Map getRawImmutableObjectTypes();
static Builder newBuilder() {
return new MetadataBuilder();
}
interface Builder {
default Builder addService(Object service) {
return addServices(Collections.singleton(service));
}
default Builder addServices(Object ... services) {
return addServices(Arrays.asList(services));
}
default Builder addServices(Collection
© 2015 - 2025 Weber Informatics LLC | Privacy Policy