org.apache.commons.betwixt
Class MoonBean

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

public class MoonBean
extends java.lang.Object

Author:
Apache Commons Team, Apache Software Foundation

Field Summary
protected  java.lang.String name
           
protected  PlanetBean planet
           
 
Constructor Summary
MoonBean()
           
MoonBean(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
           
 PlanetBean getPlanet()
           
 void setName(java.lang.String name)
           
 void setPlanet(PlanetBean planet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

planet

protected PlanetBean planet

name

protected java.lang.String name
Constructor Detail

MoonBean

public MoonBean()

MoonBean

public MoonBean(java.lang.String 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.

getPlanet

public PlanetBean getPlanet()
Returns:
Returns the planet.

setPlanet

public void setPlanet(PlanetBean planet)
Parameters:
planet - The planet to set.


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