ch.bouquet.jpa.domain
Class AuthUserRole

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

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

CAS Enterprise Application Development mit Java EE (EADJ) - 2007
Modul: Data-Tier (JPA)
Uebung: Pruefungsaufgabe
Beschreibung:
Auth user role 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
AuthUserRole()
          Default constructor
AuthUserRole(int authUserId, int authRoleId)
          Constructor
 
Method Summary
 int getAuthRoleId()
          Gets the authRoleId.
 int getAuthUserId()
          Gets the authUserId.
 void setAuthRoleId(int authRoleId)
          Sets the authRoleId.
 void setAuthUserId(int authUserId)
          Sets the authUserId.
 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

AuthUserRole

public AuthUserRole()
Default constructor


AuthUserRole

public AuthUserRole(int authUserId,
                    int authRoleId)
Constructor

Parameters:
authUserId - int
authRoleId - int
Method Detail

toString

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

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

getAuthRoleId

public int getAuthRoleId()
Gets the authRoleId.

Returns:
the authRoleId

setAuthRoleId

public void setAuthRoleId(int authRoleId)
Sets the authRoleId.

Parameters:
authRoleId - The authRoleId 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


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