org.apache.jdo.tck.pc.shoppingcart
Class Undetachable
java.lang.Object
org.apache.jdo.tck.pc.shoppingcart.Undetachable
- All Implemented Interfaces:
- java.io.Serializable
- public class Undetachable
- extends java.lang.Object
- implements java.io.Serializable
This class is a token undetachable class. It is only present to be
persistence-capable but not detachable so as to test that a detachable class
must be declared so.
- See Also:
- Serialized Form
Field Summary |
protected int |
bar
|
protected int |
foo
|
protected long |
id
Identity field for use with application identity |
protected static long |
nextId
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextId
protected static long nextId
id
protected long id
- Identity field for use with application identity
foo
protected int foo
bar
protected int bar
Undetachable
public Undetachable()
Undetachable
public Undetachable(long id)
nextId
public static long nextId()
getFoo
public int getFoo()
setFoo
public void setFoo(int foo)
getBar
public int getBar()
setBar
public void setBar(int bar)
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.