HouseOver.THARM.Sale Class Reference

This class represents a sale. More...

Collaboration diagram for HouseOver.THARM.Sale:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Sale (int price, DateTime time, Item item, Customer seller)
 Constructs a new sale object.
 Sale (int price, DateTime time, Item item, Customer seller)
 Constructs a new sale object.

Protected Attributes

Item item
Customer seller
DateTime putUpForSale
int price

Properties

Customer Seller [get, set]
 Gets or sets the seller.
Item Item [get, set]
 Gets or sets the item.
int Price [get, set]
 Gets or sets the price.
DateTime PutUpForSale [get, set]
 Gets or sets the creation time.

Detailed Description

This class represents a sale.

Definition at line 11 of file Sale.cs.


Constructor & Destructor Documentation

HouseOver.THARM.Sale.Sale ( int  price,
DateTime  time,
Item  item,
Customer  seller 
)

Constructs a new sale object.

Parameters:
price The wanted price.
time Time of creation.
item The sale item.
seller The seller. A customer.

Definition at line 25 of file Sale.cs.

00026         {
00027             this.item = item;
00028             this.price = price;
00029             this.putUpForSale = time;
00030             this.seller = seller;
00031         }

HouseOver.THARM.Sale.Sale ( int  price,
DateTime  time,
Item  item,
Customer  seller 
)

Constructs a new sale object.

Parameters:
price The wanted price.
time Time of creation.
item The sale item.
seller The seller. A customer.

Definition at line 25 of file Sale.cs.

00026         {
00027             this.item = item;
00028             this.price = price;
00029             this.putUpForSale = time;
00030             this.seller = seller;
00031         }


Member Data Documentation

Item HouseOver::THARM.Sale::item [protected]

Definition at line 13 of file Sale.cs.

Customer HouseOver::THARM.Sale::seller [protected]

Definition at line 14 of file Sale.cs.

DateTime HouseOver::THARM.Sale::putUpForSale [protected]

Definition at line 15 of file Sale.cs.

int HouseOver::THARM.Sale::price [protected]

Definition at line 16 of file Sale.cs.


Property Documentation

Customer HouseOver::THARM.Sale::Seller [get, set]

Gets or sets the seller.

Definition at line 36 of file Sale.cs.

Referenced by HouseOver.THARM.RealtyManager.ShowSale(), and HouseOver.THARM.RealtyManager.ShowSaleDetails().

Item HouseOver::THARM.Sale::Item [get, set]

Gets or sets the item.

Definition at line 41 of file Sale.cs.

Referenced by HouseOver.THARM.Profile.SaleWithinParameters(), HouseOver.THARM.RealtyManager.ShowSale(), and HouseOver.THARM.RealtyManager.ShowSaleDetails().

int HouseOver::THARM.Sale::Price [get, set]

Gets or sets the price.

Definition at line 46 of file Sale.cs.

Referenced by HouseOver.THARM.Profile.SaleWithinParameters(), and HouseOver.THARM.RealtyManager.ShowSaleDetails().

DateTime HouseOver::THARM.Sale::PutUpForSale [get, set]

Gets or sets the creation time.

Definition at line 51 of file Sale.cs.

Referenced by HouseOver.THARM.RealtyManager.ShowSale(), and HouseOver.THARM.RealtyManager.ShowSaleDetails().


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