Fish & Chips Club 4.10.0.0

hirondelle.fish.main.resto
Class Resto

Object
  extended by hirondelle.fish.main.resto.Resto

public final class Resto
extends Object

Model Object for a Restaurant.


Constructor Summary
Resto(Id aId, SafeText aName, SafeText aLocation, Decimal aPrice, SafeText aComment)
          Full constructor.
 
Method Summary
 boolean equals(Object aThat)
           
 SafeText getComment()
           
 Id getId()
           
 SafeText getLocation()
           
 SafeText getName()
           
 Decimal getPrice()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resto

public Resto(Id aId,
             SafeText aName,
             SafeText aLocation,
             Decimal aPrice,
             SafeText aComment)
      throws ModelCtorException
Full constructor.

Parameters:
aId - underlying database internal identifier (optional) 1..50 characters
aName - of the restaurant (required), 2..50 characters
aLocation - street address of the restaurant (optional), 2..50 characters
aPrice - of the fish and chips meal (optional) $0.00..$100.00
aComment - on the restaurant in general (optional) 2..50 characters
Throws:
ModelCtorException
Method Detail

getId

public Id getId()

getName

public SafeText getName()

getLocation

public SafeText getLocation()

getPrice

public Decimal getPrice()

getComment

public SafeText getComment()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object aThat)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26