Professional Documents
Culture Documents
Fernndofoundation 4 Classes Diagrams
Fernndofoundation 4 Classes Diagrams
Fernndofoundation 4 Classes Diagrams
Program
List<Video> : Video
DisplayInfo() : void
Video Class
_title : string
_author : string
_videoLength : int
List<Comment> : Comment
Methods:
NumberOfComments() : int
DisplayInfo() : void
Comment Class
_name : string
_text : string
Methods:
GetName() : string
GetText() : string
DisplayInfo() : void
Foundation 2
Program Class
Product Class
_name = string
_productID = string
_price = double
_quantity = int
_totalCost = double
CalculateTotalCost() : double
Customer Class
_name : string
_address : Address
LiveInUSA() : Bool
Address Class
_streetAddress : string
_city : string
_stateProvince : string
_country : string
IsInUS() : bool
GetFullAddress() : string
SplitAddress(): string
Order Class
List<Product> : Product
_name : Customer
?_totalCost : double
_shippingCostUS : double
_shippingCostNotUS : double
CalculateTotalCost() : double
CreatePackingLabel() : string
CreateShippingLabel() : string
Foundation 3
Program
Event Class
_title : string
_description : string
_address : Address
_date : string
_time : string
?_eventType : string
GetStandardDetails() : string
GetFullDetails() : string
GetShortDescription() : string
Lecture Class
_speaker : string
_capacity : int
GetFullDetails() : string
Reception Class
_RSVP : string
GetFullDetails() : string
Outdoor Class
_weather : string
Methods:
GetFullDetails() : string
Address Class
_streetAddress : string
_city : string
_stateProvince : string
_country : string
Methods:
GetAddressString() : string
Foundation 4
Program Class
List<Activity> : Activity
Activity Class
_date : string
_length : int
Methods:
GetDistance() : Virtual
GetSpeed() : Virtual
GetPace() : Virtual
GetSummary() : string
Running Class
_distance : int
GetSummary() : string
Bicycle Class
_speed : int
Methods:
GetSummary() : string
Swimming Class
_laps : int
Methods:
GetSummary() : string