de.ix.jspTutorial.model
Class Pizza

java.lang.Object
  |
  +--de.ix.jspTutorial.model.Pizza
Direct Known Subclasses:
PersonalPizza

public class Pizza
extends java.lang.Object

Defintion einer Pizza

Version:
$Id:$
Author:
Peter Rossbach (pr@webapp.de), Lars Röwekamp ( lars.roewekamp@openKnowledge.de)

Field Summary
static java.lang.String vcid
          Version des Source
 
Constructor Summary
Pizza()
          Constructor declaration
Pizza(long id, java.lang.String name, java.lang.String size, double basePrice)
          Constructor declaration
 
Method Summary
 double getBasePrice()
          Method declaration
 long getId()
          Method declaration
 java.lang.String getName()
          Method declaration
 java.lang.String getSize()
          Method declaration
 void setBasePrice(double newBasePrice)
          Method declaration
 void setId(long newId)
          Method declaration
 void setName(java.lang.String newName)
          Method declaration
 void setSize(java.lang.String newSize)
          Method declaration
 java.lang.String toString()
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vcid

public static java.lang.String vcid
Version des Source
Constructor Detail

Pizza

public Pizza()
Constructor declaration
See Also:

Pizza

public Pizza(long id,
             java.lang.String name,
             java.lang.String size,
             double basePrice)
Constructor declaration
Parameters:
id -  
name -  
size -  
basePrice -  
See Also:
Method Detail

setName

public void setName(java.lang.String newName)
Method declaration
Parameters:
newName -  
See Also:

getName

public java.lang.String getName()
Method declaration
Returns:
 
See Also:

setBasePrice

public void setBasePrice(double newBasePrice)
Method declaration
Parameters:
newBasePrice -  
See Also:

getBasePrice

public double getBasePrice()
Method declaration
Returns:
 
See Also:

setId

public void setId(long newId)
Method declaration
Parameters:
newId -  
See Also:

getId

public long getId()
Method declaration
Returns:
 
See Also:

setSize

public void setSize(java.lang.String newSize)
Method declaration
Parameters:
newSize -  
See Also:

getSize

public java.lang.String getSize()
Method declaration
Returns:
 
See Also:

toString

public java.lang.String toString()
Method declaration
Overrides:
toString in class java.lang.Object
Returns:
 
See Also:


~ Das iX JSP Tutorial I - © 2000 by Peter Roßbach ~