com.googlecode.objectify.test.entity.HasArrays 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!
/*
* $Id: BeanMixin.java 1075 2009-05-07 06:41:19Z lhoriman $
* $URL: https://subetha.googlecode.com/svn/branches/resin/rtest/src/org/subethamail/rtest/util/BeanMixin.java $
*/
package com.googlecode.objectify.test.entity;
import javax.persistence.Id;
import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Unindexed;
/**
* An entity that has several array types. Left off getters and setters
* for convenience.
*
* @author Jeff Schnitzer
*/
@Cached
public class HasArrays
{
public @Id Long id;
public String[] strings;
@Unindexed
public long[] longs;
@Unindexed
public int[] ints;
@Unindexed
public Integer[] integers;
/** Default constructor must always exist */
public HasArrays() {}
}