org.apache.commons.betwixt.schema
Class CyclicLayer

java.lang.Object
  extended by org.apache.commons.betwixt.schema.CyclicLayer

public class CyclicLayer
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
CyclicLayer(java.lang.String name)
           
 
Method Summary
 void addColumn(CyclicColumn aColumn)
           
 java.util.Vector getColumns()
           
 java.lang.String getName()
           
 void setColumns(java.util.Vector vColumns)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CyclicLayer

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

getColumns

public java.util.Vector getColumns()

setColumns

public void setColumns(java.util.Vector vColumns)

addColumn

public void addColumn(CyclicColumn aColumn)

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.