HouseOver.THARM.Buildings.House Class Reference

This class represents a house - a building with one or more floors, normally situated on its own lot of ground. More...

Inheritance diagram for HouseOver.THARM.Buildings.House:

Inheritance graph
[legend]
Collaboration diagram for HouseOver.THARM.Buildings.House:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 House ()
 Constructs a new House and automatically assigns the next available UniquelyIdentifiable ID.
 House (int id)
 Constructs a new House with the UniquelyIdentifiable ID passed to the constructur as ID.
 House (int id, int postalCode, int area, int buildingYear, int levels, int groundArea)
 Constructs a new House object with the speficied parameters.
 House ()
 Constructs a new House and automatically assigns the next available UniquelyIdentifiable ID.
 House (int id)
 Constructs a new House with the UniquelyIdentifiable ID passed to the constructur as ID.
 House (int id, int postalCode, int area, int buildingYear, int levels, int groundArea)
 Constructs a new House object with the speficied parameters.

Properties

[SaleCriteria("Surrounding
Lot Area")] int 
GroundArea [get, set]
 Gets and sets the ground area.

Private Attributes

int groundArea
 The area of ground the house is situated on.

Detailed Description

This class represents a house - a building with one or more floors, normally situated on its own lot of ground.

Definition at line 13 of file House.cs.


Constructor & Destructor Documentation

HouseOver.THARM.Buildings.House.House (  ) 

Constructs a new House and automatically assigns the next available UniquelyIdentifiable ID.

Definition at line 21 of file House.cs.

00021 : base(UniquelyIdentifiable.NextID) { }

HouseOver.THARM.Buildings.House.House ( int  id  ) 

Constructs a new House with the UniquelyIdentifiable ID passed to the constructur as ID.

Parameters:
id The house's ID

Definition at line 27 of file House.cs.

00027 : base(id) { }

HouseOver.THARM.Buildings.House.House ( int  id,
int  postalCode,
int  area,
int  buildingYear,
int  levels,
int  groundArea 
)

Constructs a new House object with the speficied parameters.

Parameters:
id The ID to construct the House object according to
postalCode The house's postal code
area The amount of floor space in the house
buildingYear The house's year of construction
levels The amount of floors in the house
groundArea The area of ground the house is situated on

Definition at line 38 of file House.cs.

00038                                                                                                      : base
00039             (id, postalCode, area, buildingYear, levels)
00040         {
00041             this.groundArea = groundArea;
00042         }

HouseOver.THARM.Buildings.House.House (  ) 

Constructs a new House and automatically assigns the next available UniquelyIdentifiable ID.

Definition at line 21 of file House.cs.

00021 : base(UniquelyIdentifiable.NextID) { }

HouseOver.THARM.Buildings.House.House ( int  id  ) 

Constructs a new House with the UniquelyIdentifiable ID passed to the constructur as ID.

Parameters:
id The house's ID

Definition at line 27 of file House.cs.

00027 : base(id) { }

HouseOver.THARM.Buildings.House.House ( int  id,
int  postalCode,
int  area,
int  buildingYear,
int  levels,
int  groundArea 
)

Constructs a new House object with the speficied parameters.

Parameters:
id The ID to construct the House object according to
postalCode The house's postal code
area The amount of floor space in the house
buildingYear The house's year of construction
levels The amount of floors in the house
groundArea The area of ground the house is situated on

Definition at line 38 of file House.cs.

00038                                                                                                      : base
00039             (id, postalCode, area, buildingYear, levels)
00040         {
00041             this.groundArea = groundArea;
00042         }


Member Data Documentation

int HouseOver::THARM::Buildings.House::groundArea [private]

The area of ground the house is situated on.

Definition at line 16 of file House.cs.


Property Documentation

[SaleCriteria("Surrounding Lot Area")] int HouseOver.THARM.Buildings.House.GroundArea [get, set]

Gets and sets the ground area.

Definition at line 48 of file House.cs.


The documentation for this class was generated from the following files:
Generated on Wed Jan 10 03:43:16 2007 for THARM by  doxygen 1.5.1-p1