PageRenderTime 15ms CodeModel.GetById 0ms RepoModel.GetById 0ms 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
Possible License(s): Apache-2.0
  1. package com.google.appengine.datanucleus.bugs.test;
  2. import javax.jdo.annotations.IdGeneratorStrategy;
  3. import javax.jdo.annotations.PersistenceCapable;
  4. import javax.jdo.annotations.Persistent;
  5. import javax.jdo.annotations.PrimaryKey;
  6. import com.google.appengine.api.datastore.Key;
  7. @PersistenceCapable
  8. public class Issue228Child {
  9. @PrimaryKey
  10. @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
  11. Key id;
  12. String name;
  13. Issue228Parent parent;
  14. public String getName() {
  15. return name;
  16. }
  17. public void setName(String str) {
  18. this.name = str;
  19. }
  20. public void setParent(Issue228Parent o) {
  21. this.parent = o;
  22. }
  23. public Issue228Parent getParent() {
  24. return parent;
  25. }
  26. }