org.apache.commons.betwixt
Class PlanetBean

java.lang.Object
  extended by org.apache.commons.betwixt.PlanetBean

public class PlanetBean
extends java.lang.Object

Author:
Apache Commons Team, Apache Software Foundation

Field Summary
protected  java.util.List moons
           
protected  java.lang.String name
           
 
Constructor Summary
PlanetBean(java.lang.String name)
           
 
Method Summary
 void addMoon(MoonBean moon)
           
 java.util.List getMoons()
           
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

moons

protected java.util.List moons
Constructor Detail

PlanetBean

public PlanetBean(java.lang.String name)
Parameters:
name -
Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getMoons

public java.util.List getMoons()
Returns:
Returns the moons.

addMoon

public void addMoon(MoonBean moon)


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