ch.hsr.bieridee.domain
Class Beertype

java.lang.Object
  extended by ch.hsr.bieridee.domain.Beertype
All Implemented Interfaces:
IDomain

public class Beertype
extends java.lang.Object
implements IDomain

Class representing a Beertype.


Constructor Summary
Beertype(long id, java.lang.String name, java.lang.String description)
          Creates a Beetype.
Beertype(java.lang.String name, java.lang.String description)
          Creates a Beetype.
 
Method Summary
 java.lang.String getDescription()
           
 long getId()
           
 java.lang.String getName()
           
 void setDescription(java.lang.String description)
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Beertype

public Beertype(java.lang.String name,
                java.lang.String description)
Creates a Beetype.

Parameters:
name - Name of the Beertype
description - String describing the Beertype.

Beertype

public Beertype(long id,
                java.lang.String name,
                java.lang.String description)
Creates a Beetype.

Parameters:
id - Id of the Beertype
name - Name of the Beertype
description - String describing the Beertype.
Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getId

public long getId()

setId

public void setId(long id)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object