org.apache.commons.betwixt.schema
Class ParentColumn

java.lang.Object
  extended by org.apache.commons.betwixt.schema.ParentColumn
Direct Known Subclasses:
CyclicColumn

public class ParentColumn
extends java.lang.Object

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
ParentColumn(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParentColumn

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

getName

public java.lang.String getName()

toString

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


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