org.apache.commons.betwixt.schema
Class CyclicColumn

java.lang.Object
  extended by org.apache.commons.betwixt.schema.ParentColumn
      extended by org.apache.commons.betwixt.schema.CyclicColumn

public class CyclicColumn
extends ParentColumn

This is a bean specifically designed to test cyclic references. The idea is that there's a count that counts every time getFriend gets called and throws a RuntimeException if the count gets too high.

Author:
Apache Commons Team, Apache Software Foundation

Constructor Summary
CyclicColumn(java.lang.String name)
           
 
Method Summary
 CyclicBean getBean()
           
 void setBean(CyclicBean aBean)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.commons.betwixt.schema.ParentColumn
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CyclicColumn

public CyclicColumn(java.lang.String name)
Method Detail

getBean

public CyclicBean getBean()

setBean

public void setBean(CyclicBean aBean)

toString

public java.lang.String toString()
Overrides:
toString in class ParentColumn


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.