Class JOP.test.TestObject4
All Packages Class Hierarchy This Package Previous Next Index Home
Class JOP.test.TestObject4
java.lang.Object
|
+----JOP.test.TestObject0
|
+----JOP.test.TestObject4
- public class TestObject4
- extends TestObject0
- implements Persistable
This is an INTERNAL class.
Simple test object that contains a reference to another
object.
Just like TestObject1 except that we'll inherit from
TestObject as a comparison.
-
TestObject4()
-
-
addReference(Object)
- Can have narrow type or just Object as is required.
-
defineObject(PersistController)
-
-
streamIn(PersistController)
- now requires 'throws exception' because of the nested object
-
streamOut(PersistController)
- now requires 'throws exception' because of the nested object
-
toString()
-
TestObject4
public TestObject4()
addReference
public void addReference(Object o)
- Can have narrow type or just Object as is required. Use
natural Java
toString
public String toString()
- Overrides:
- toString in class TestObject0
defineObject
public void defineObject(PersistController c) throws Exception
- Overrides:
- defineObject in class TestObject0
streamIn
public void streamIn(PersistController c) throws Exception
- now requires 'throws exception' because of the nested object
- Overrides:
- streamIn in class TestObject0
streamOut
public void streamOut(PersistController c) throws Exception
- now requires 'throws exception' because of the nested object
- Overrides:
- streamOut in class TestObject0
All Packages Class Hierarchy This Package Previous Next Index Home