com.googlecode.objectify.test.entity.Apple 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: Apple.java 319 2010-02-09 02:33:41Z lhoriman $
* $URL: https://objectify-appengine.googlecode.com/svn/trunk/src/com/googlecode/objectify/test/entity/Apple.java $
*/
package com.googlecode.objectify.test.entity;
import com.googlecode.objectify.annotation.Cached;
/**
* A fruit, an apple.
*
* @author Scott Hernandez
*/
@Cached
public class Apple extends Fruit
{
public static final String COLOR = "red";
public static final String TASTE = "sweet";
private String size;
/** Default constructor must always exist */
public Apple() {}
/** Constructor*/
public Apple(String color, String taste)
{
super(color,taste);
this.size = "small";
}
public String getSize()
{
return this.size;
}
}