de.ix.jspTutorial.model
Class Ingredient

java.lang.Object
  |
  +--de.ix.jspTutorial.model.Ingredient

public class Ingredient
extends java.lang.Object

Eine Pizza Zutat

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
Ingredient()
          Erzeuge leer Zutat
Ingredient(long id, java.lang.String name, double price)
          Constructor declaration
 
Method Summary
 long getId()
          Method declaration
 java.lang.String getName()
          Method declaration
 double getPrice()
          Method declaration
 void setId(long newId)
          Method declaration
 void setName(java.lang.String newName)
          Method declaration
 void setPrice(double newPrice)
          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

Ingredient

public Ingredient()
Erzeuge leer Zutat

Ingredient

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

getId

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

setId

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

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:

setPrice

public void setPrice(double newPrice)
Method declaration
Parameters:
newPrice -  
See Also:

getPrice

public double getPrice()
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 ~