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

org.bigraphs.spring.data.cdo.CdoConverter Maven / Gradle / Ivy

There is a newer version: 0.7.2
Show newest version
package org.bigraphs.spring.data.cdo;

import org.bigraphs.spring.data.cdo.core.ValueResolver;
import org.bigraphs.spring.data.cdo.repository.CdoPersistentEntity;
import org.bigraphs.spring.data.cdo.repository.CdoPersistentProperty;
import org.eclipse.emf.ecore.EObject;
import org.springframework.data.convert.EntityConverter;
import org.springframework.data.mapping.context.MappingContext;
import org.springframework.lang.Nullable;

import java.lang.reflect.Method;

/**
 * @author Dominik Grzelak
 */
public interface CdoConverter
        extends CdoWriter,
        CdoReader,
        ValueResolver,
        EntityConverter, CdoPersistentProperty, Object, EObject> {

    @Override
    MappingContext, CdoPersistentProperty> getMappingContext();

    Method resolveEPackageFieldAnnotatedMethod(final Class type);

    Method resolveCDOIDMethod(final Class type);

    boolean checkIfLegacyEObject(@Nullable Class o);
}