org.babyfish.jimmer.client.meta.impl.MetadataImpl 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.impl;
import org.babyfish.jimmer.client.meta.*;
import org.babyfish.jimmer.meta.ImmutableType;
import org.babyfish.jimmer.sql.fetcher.Fetcher;
import java.util.Map;
public class MetadataImpl implements Metadata {
private final Map, Service> services;
private final Map, StaticObjectType> genericeTypes;
private final Map staticTypes;
private final Map, EnumType> enumTypes;
private final Map, ImmutableObjectType> fetchedImmutableObjectTypeMap;
private final Map viewImmutableObjectTypes;
private final Map rawImmutableObjectTypes;
public MetadataImpl(
Map, Service> services,
Map, StaticObjectType> genericTypes,
Map staticTypes,
Map, EnumType> enumTypes,
Map, ImmutableObjectType> fetchedImmutableObjectTypeMap,
Map viewImmutableObjectTypes,
Map rawImmutableObjectTypes
) {
this.services = services;
this.genericeTypes = genericTypes;
this.staticTypes = staticTypes;
this.enumTypes = enumTypes;
this.fetchedImmutableObjectTypeMap = fetchedImmutableObjectTypeMap;
this.viewImmutableObjectTypes = viewImmutableObjectTypes;
this.rawImmutableObjectTypes = rawImmutableObjectTypes;
}
@Override
public Map, Service> getServices() {
return services;
}
@Override
public Map, StaticObjectType> getGenericTypes() {
return genericeTypes;
}
@Override
public Map getStaticTypes() {
return staticTypes;
}
@Override
public Map, EnumType> getEnumTypes() {
return enumTypes;
}
@Override
public Map, ImmutableObjectType> getFetchedImmutableObjectTypes() {
return fetchedImmutableObjectTypeMap;
}
@Override
public Map getViewImmutableObjectTypes() {
return viewImmutableObjectTypes;
}
@Override
public Map getRawImmutableObjectTypes() {
return rawImmutableObjectTypes;
}
@Override
public String toString() {
return "MetadataImpl{" +
"services=" + services +
", staticTypes=" + staticTypes +
", enumTypes=" + enumTypes +
", viewImmutableObjectTypes=" + viewImmutableObjectTypes +
", rawImmutableObjectTypes=" + rawImmutableObjectTypes +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy