/tests_bugs/com/google/appengine/datanucleus/bugs/test/Issue228Child.java
Java | 35 lines | 26 code | 9 blank | 0 comment | 0 complexity | 1ad565f5708aa3b7370646d9f5248bc7 MD5 | raw file
Possible License(s): Apache-2.0
- package com.google.appengine.datanucleus.bugs.test;
- import javax.jdo.annotations.IdGeneratorStrategy;
- import javax.jdo.annotations.PersistenceCapable;
- import javax.jdo.annotations.Persistent;
- import javax.jdo.annotations.PrimaryKey;
- import com.google.appengine.api.datastore.Key;
- @PersistenceCapable
- public class Issue228Child {
- @PrimaryKey
- @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
- Key id;
- String name;
- Issue228Parent parent;
- public String getName() {
- return name;
- }
- public void setName(String str) {
- this.name = str;
- }
- public void setParent(Issue228Parent o) {
- this.parent = o;
- }
- public Issue228Parent getParent() {
- return parent;
- }
- }