PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/tests_bugs/com/google/appengine/datanucleus/bugs/test/Issue228Child.java

http://datanucleus-appengine.googlecode.com/
Java | 35 lines | 26 code | 9 blank | 0 comment | 0 complexity | 1ad565f5708aa3b7370646d9f5248bc7 MD5 | raw file
 1package com.google.appengine.datanucleus.bugs.test;
 2
 3import javax.jdo.annotations.IdGeneratorStrategy;
 4import javax.jdo.annotations.PersistenceCapable;
 5import javax.jdo.annotations.Persistent;
 6import javax.jdo.annotations.PrimaryKey;
 7
 8import com.google.appengine.api.datastore.Key;
 9
10@PersistenceCapable
11public class Issue228Child {
12  @PrimaryKey
13  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
14  Key id;
15
16  String name;
17
18  Issue228Parent parent;
19
20  public String getName() {
21    return name;
22  }
23
24  public void setName(String str) {
25    this.name = str;
26  }
27
28  public void setParent(Issue228Parent o) {
29    this.parent = o;
30  }
31
32  public Issue228Parent getParent() {
33    return parent;
34  }
35}