com.googlecode.objectify.test.entity.Criminal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of objectify Show documentation
Show all versions of objectify Show documentation
*** 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.test.entity;
import java.util.List;
import java.util.Set;
import javax.persistence.Embedded;
import javax.persistence.Id;
import com.googlecode.objectify.annotation.Cached;
/**
* Entity for testing null/empty embedded arrays and collections
*/
@Cached
public class Criminal
{
@Id
public Long id;
@Embedded
public Name[] aliases;
@Embedded
public List moreAliases;
@Embedded
public Set aliasesSet;
public Criminal()
{
}
}