ch.bouquet.jpa.domain
Class Subscriper

java.lang.Object
  extended by ch.bouquet.jpa.domain.Subscriper
All Implemented Interfaces:
java.io.Serializable

public class Subscriper
extends java.lang.Object
implements java.io.Serializable

CAS Enterprise Application Development mit Java EE (EADJ) - 2007
Modul: Data-Tier (JPA)
Uebung: Pruefungsaufgabe
Beschreibung:
Subcriper business object implemented as plain old java object.

Copyright (c) 2007 bouquet dot ch, 3032 Hinterkappelen. All rights reseved.

Version:
1.0 - 25.05.2007
Author:
Marc Bouquet ( marc at bouquet dot ch, Switzerland )
See Also:
Serialized Form

Constructor Summary
Subscriper()
          Default constructor
Subscriper(java.lang.String firstName, java.lang.String lastName, java.lang.String emailAddress)
          Constructor
 
Method Summary
 java.lang.String getAddress()
          Gets the address.
 int getAuthUserId()
          Gets the authUserId.
 java.lang.String getCity()
          Gets the city.
 java.lang.String getCountry()
          Gets the country.
 java.lang.String getEmailAddress()
          Gets the emailAddress.
 java.lang.String getFirstName()
          Gets the firstName.
 java.lang.String getLastName()
          Gets the lastName.
 int getSubscriperId()
          Gets the subscriperId.
 java.lang.String getZip()
          Gets the zip.
 void setAddress(java.lang.String address)
          Sets the address.
 void setAuthUserId(int authUserId)
          Sets the authUserId.
 void setCity(java.lang.String city)
          Sets the city.
 void setCountry(java.lang.String country)
          Sets the country.
 void setEmailAddress(java.lang.String emailAddress)
          Sets the emailAddress.
 void setFirstName(java.lang.String firstName)
          Sets the firstName.
 void setLastName(java.lang.String lastName)
          Sets the lastName.
 void setSubscriperId(int subscriperId)
          Sets the subscriperId.
 void setZip(java.lang.String zip)
          Sets the zip.
 java.lang.String toString()
          Return all attributes as String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subscriper

public Subscriper()
Default constructor


Subscriper

public Subscriper(java.lang.String firstName,
                  java.lang.String lastName,
                  java.lang.String emailAddress)
Constructor

Parameters:
firstName - String
lastName - String
emailAddress - String
Method Detail

toString

public java.lang.String toString()
Return all attributes as String

Overrides:
toString in class java.lang.Object
Returns:
Object as String

getSubscriperId

public int getSubscriperId()
Gets the subscriperId.

Returns:
the subscriperId

setSubscriperId

public void setSubscriperId(int subscriperId)
Sets the subscriperId.

Parameters:
subscriperId - The subscriperId to set

getAuthUserId

public int getAuthUserId()
Gets the authUserId.

Returns:
the authUserId

setAuthUserId

public void setAuthUserId(int authUserId)
Sets the authUserId.

Parameters:
authUserId - The authUserId to set

getFirstName

public java.lang.String getFirstName()
Gets the firstName.

Returns:
the firstName

setFirstName

public void setFirstName(java.lang.String firstName)
Sets the firstName.

Parameters:
firstName - The firstName to set

getLastName

public java.lang.String getLastName()
Gets the lastName.

Returns:
the lastName

setLastName

public void setLastName(java.lang.String lastName)
Sets the lastName.

Parameters:
lastName - The lastName to set

getEmailAddress

public java.lang.String getEmailAddress()
Gets the emailAddress.

Returns:
the emailAddress

setEmailAddress

public void setEmailAddress(java.lang.String emailAddress)
Sets the emailAddress.

Parameters:
emailAddress - The emailAddress to set

getAddress

public java.lang.String getAddress()
Gets the address.

Returns:
the address

setAddress

public void setAddress(java.lang.String address)
Sets the address.

Parameters:
address - The address to set

getZip

public java.lang.String getZip()
Gets the zip.

Returns:
the zip

setZip

public void setZip(java.lang.String zip)
Sets the zip.

Parameters:
zip - The zip to set

getCity

public java.lang.String getCity()
Gets the city.

Returns:
the city

setCity

public void setCity(java.lang.String city)
Sets the city.

Parameters:
city - The city to set

getCountry

public java.lang.String getCountry()
Gets the country.

Returns:
the country

setCountry

public void setCountry(java.lang.String country)
Sets the country.

Parameters:
country - The country to set


Copyright © 2007 - bouquet dot ch, 3032 Hinterkappelen. All Rights Reserved.