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

com.googlecode.objectify.annotation.Entity Maven / Gradle / Ivy

Go to download

*** THIS VERSION UPLOADED FOR USE WITH CEDAR-COMMON, TO AVOID DEPENDENCIES ON GOOGLE CODE-BASED MAVEN REPOSITORIES. *** The simplest convenient interface to the Google App Engine datastore

The newest version!
package com.googlecode.objectify.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 

This is an Objectify-specific version of the javax.persistence.Entity annotation. * Either will work, but this version will not be picked up by the JDO bytecode * enhancer if you are still using it.

* *

Note that the @Entity annotations are not necessary in Objectify; they exist so you can * change the datastore kind name.

* * @author Jeff Schnitzer */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) public @interface Entity { String name() default ""; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy