com.googlecode.objectify.test.entity.Person 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 javax.persistence.Embedded;
import com.googlecode.objectify.annotation.Cached;
/**
*/
@Cached
public class Person
{
@Embedded
public Name name;
public int age;
public Person()
{
}
public Person(Name name, int age)
{
this.name = name;
this.age = age;
}
}