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

com.mysema.query.apt.jdo.JDOConfiguration Maven / Gradle / Ivy

package com.mysema.query.apt.jdo;

import java.lang.annotation.Annotation;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import javax.annotation.Nullable;
import javax.annotation.processing.RoundEnvironment;

import com.mysema.query.apt.DefaultConfiguration;

/**
 * Configuration for {@link JDOAnnotationProcessor}
 * 
 * @author tiwe
 * @see JDOAnnotationProcessor
 *
 */
public class JDOConfiguration extends DefaultConfiguration{

    private static final List keywords = Arrays.asList(
            "AS","ASC",
            "ASCENDING","AVG",
            "BY","COUNT",
            "DESC","DESCENDING",
            "DISTINCT","EXCLUDE",
            "FROM","GROUP",
            "HAVING","INTO",
            "MAX","MIN",
            "ORDER","PARAMETERS",
            "RANGE","SELECT",
            "SUBCLASSES","SUM",
            "UNIQUE","VARIABLES",
            "WHERE");

    public JDOConfiguration(RoundEnvironment roundEnv,Map options,
            Class entityAnn,
            @Nullable Class superTypeAnn,
            Class embeddableAnn,
            Class skipAnn) throws ClassNotFoundException {
        super(roundEnv, options, entityAnn, superTypeAnn, embeddableAnn, skipAnn);
    }

    @Override
    public Collection getKeywords(){
        return keywords;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy