Package com.arconsis.android.datarobot.manifest

Examples of com.arconsis.android.datarobot.manifest.AndroidManifest


        Persistence persistence = checkPersistenceAnnotation(roundEnv);
        if (persistence == null) {
          return true;
        }

        AndroidManifest androidManifest = androidManifestAccess.load();
        String updateHookName = getHookName(roundEnv, Update.class, DbUpdate.class);
        String createHookName = getHookName(roundEnv, Create.class, DbCreate.class);
        Set<? extends Element> entityAnnotated = roundEnv.getElementsAnnotatedWith(Entity.class);

        String generatedPackage = androidManifest.getPackageName() + "." + GENERATED_SUFFIX;
        generateDbSchema(generatedPackage, entityAnnotated, persistence, updateHookName, createHookName);
        generateContentProviderIfRequested(generatedPackage, entityAnnotated);
      } catch (RuntimeException e) {
        messager.printMessage(Kind.ERROR, "Not able to generate DB schema from the annotated entity classes " + e.getMessage());
        throw e;
View Full Code Here


        Persistence persistence = checkPersistenceAnnotation(roundEnv);
        if (persistence == null) {
          return true;
        }

        AndroidManifest androidManifest = androidManifestAccess.load();
        String updateHookName = getUpdateHookName(roundEnv);
        Set<? extends Element> entityAnnotated = roundEnv.getElementsAnnotatedWith(Entity.class);

        String generatedPackage = androidManifest.getPackageName() + "." + GENERATED_SUFFIX;
        generateDbSchema(generatedPackage, entityAnnotated, persistence, updateHookName);
        generateContentProviderIfRequested(generatedPackage, entityAnnotated);
      } catch (RuntimeException e) {
        messager.printMessage(Kind.ERROR, "Not able to generate DB schema from the annotated entity classes " + e.getMessage());
        throw e;
View Full Code Here

TOP

Related Classes of com.arconsis.android.datarobot.manifest.AndroidManifest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.