org.apache.commons.betwixt.dotbetwixt
Class ExampleBean

java.lang.Object
  extended by org.apache.commons.betwixt.dotbetwixt.ExampleBean

public class ExampleBean
extends java.lang.Object

Bean that has a property that is typed to an interface

Author:
Robert Burrell Donkin

Constructor Summary
ExampleBean()
           
ExampleBean(java.lang.String name)
           
 
Method Summary
 void addExample(IExample example)
           
 boolean equals(java.lang.Object obj)
           
 java.util.List getExamples()
           
 java.lang.String getName()
           
 int hashCode()
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExampleBean

public ExampleBean()

ExampleBean

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

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getExamples

public java.util.List getExamples()

addExample

public void addExample(IExample example)

toString

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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