cern::gp::explorer::test::helpers::SimpleDemoBean Class Reference

Inheritance diagram for cern::gp::explorer::test::helpers::SimpleDemoBean:
Inheritance graph
[legend]
Collaboration diagram for cern::gp::explorer::test::helpers::SimpleDemoBean:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimpleDemoBean ()
 SimpleDemoBean (String name)
String getName ()
void setName (String newName)
double getValue ()

Private Attributes

final double value
String name = "hello"

Static Private Attributes

static int counter

Detailed Description

A simple bean used for demo and testing purposes

Author:
Vito Baggiolini
Version:
Revision
1.2
Date
2006/09/25 08:52:36

Constructor & Destructor Documentation

cern::gp::explorer::test::helpers::SimpleDemoBean::SimpleDemoBean (  )  [inline]

creates a bean with a default name which can be modified with the setName(String) method

cern::gp::explorer::test::helpers::SimpleDemoBean::SimpleDemoBean ( String  name  )  [inline]

constructs a bean with a given name

Parameters:
name the initial value of the name property

References counter, and value.


Member Function Documentation

String cern::gp::explorer::test::helpers::SimpleDemoBean::getName (  )  [inline]

getter method

Returns:
the name property

Reimplemented from cern::gp::beans::BeanSupport.

References name.

double cern::gp::explorer::test::helpers::SimpleDemoBean::getValue (  )  [inline]

accessor methods

Returns:
the current value

References value.

void cern::gp::explorer::test::helpers::SimpleDemoBean::setName ( String  newName  )  [inline]

Setter method

Parameters:
name the new value of the name

References name.


Member Data Documentation

Referenced by SimpleDemoBean().

Referenced by getName(), and setName().

Referenced by getValue(), and SimpleDemoBean().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2