| Index: chrome_release_test_status/src/dashboard/BuildInfo.java
|
| ===================================================================
|
| --- chrome_release_test_status/src/dashboard/BuildInfo.java (revision 0)
|
| +++ chrome_release_test_status/src/dashboard/BuildInfo.java (revision 0)
|
| @@ -0,0 +1,48 @@
|
| +package mydemo;
|
| +
|
| +import com.google.appengine.api.datastore.Key;
|
| +import com.google.appengine.api.users.User;
|
| +
|
| +import java.util.Date;
|
| +import javax.jdo.annotations.IdGeneratorStrategy;
|
| +import javax.jdo.annotations.PersistenceCapable;
|
| +import javax.jdo.annotations.Persistent;
|
| +import javax.jdo.annotations.PrimaryKey;
|
| +
|
| +@PersistenceCapable
|
| +public class BuildInfo {
|
| + @PrimaryKey
|
| + @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
|
| + private Key key;
|
| +
|
| + @Persistent
|
| + private String build_number;
|
| +
|
| + @Persistent
|
| + private Date date;
|
| +
|
| + public BuildInfo(String build_number, Date date) {
|
| + this.build_number = build_number;
|
| + this.date = date;
|
| + }
|
| +
|
| + public Key getKey() {
|
| + return key;
|
| + }
|
| +
|
| + public String getBuildNumber() {
|
| + return build_number;
|
| + }
|
| +
|
| + public Date getDate() {
|
| + return date;
|
| + }
|
| +
|
| + public void setBuildNumber(String build_number) {
|
| + this.build_number = build_number;
|
| + }
|
| +
|
| + public void setDate(Date date) {
|
| + this.date = date;
|
| + }
|
| +}
|
|
|