Packagecom.ericfeminella.products
Interfacepublic interface IProduct

Defines a set of getter / setter methods implemented by Product classes All instances of subclasses which extend Product can only be typed as an IProduct Sub classes of Product can only be accessed via ProductFactory

See also

ProductFactory


Public Methods
 MethodDefined by
  
getDescription():String
IProduct
  
getID():int
IProduct
  
getImageSource():String
IProduct
  
getName():String
IProduct
  
getPrice():Number
IProduct
  
setDescription(description:String):void
IProduct
  
setID(id:int):void
IProduct
  
setImageSource(src:String):void
IProduct
  
setName(name:String):void
IProduct
  
setPrice(price:Number):void
IProduct
Method detail
getDescription()method
public function getDescription():String

Returns
String
getID()method 
public function getID():int

Returns
int
getImageSource()method 
public function getImageSource():String

Returns
String
getName()method 
public function getName():String

Returns
String
getPrice()method 
public function getPrice():Number

Returns
Number
setDescription()method 
public function setDescription(description:String):voidParameters
description:String
setID()method 
public function setID(id:int):voidParameters
id:int
setImageSource()method 
public function setImageSource(src:String):voidParameters
src:String
setName()method 
public function setName(name:String):voidParameters
name:String
setPrice()method 
public function setPrice(price:Number):voidParameters
price:Number