org.apache.ojb.odmg
Class TestClassAWithBProxy

java.lang.Object
  extended byorg.apache.ojb.odmg.TestClassA
      extended byorg.apache.ojb.odmg.TestClassAWithBProxy
All Implemented Interfaces:
java.io.Serializable

public class TestClassAWithBProxy
extends TestClassA
implements java.io.Serializable

This class is used in the TestCase for testing correct foreign-key assignment when the referenced object happens to be a proxy (i.e. it was loaded before as a proxy and is now being assigned to another object)

Author:
Georg Schneider
See Also:
Serialized Form

Constructor Summary
TestClassAWithBProxy()
           
 
Method Summary
 TestClassBProxyI getBp()
          Returns the bp.
 TestClassBProxyI getBProxy()
          Gets the bp.
 void setBp(TestClassBProxyI bp)
          Sets the bp.
 void setBProxy(TestClassBProxyI bp)
          Sets the bp.
 
Methods inherited from class org.apache.ojb.odmg.TestClassA
getB, getBoid, getLocale, getOid, getValue1, getValue2, getValue3, setB, setBoid, setLocale, setOid, setValue1, setValue2, setValue3
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClassAWithBProxy

public TestClassAWithBProxy()
Method Detail

getBProxy

public TestClassBProxyI getBProxy()
Gets the bp.

Returns:
Returns a TestClassBProxy

setBProxy

public void setBProxy(TestClassBProxyI bp)
Sets the bp.

Parameters:
bp - The bp to set

getBp

public TestClassBProxyI getBp()
Returns the bp.

Returns:
TestClassBProxyI

setBp

public void setBp(TestClassBProxyI bp)
Sets the bp.

Parameters:
bp - The bp to set


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14