ch.bouquet.jpa.domain
Class AuthRole

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

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

CAS Enterprise Application Development mit Java EE (EADJ) - 2007
Modul: Data-Tier (JPA)
User admininstration (examination question)
Description:
Authenticated 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, Swiss )
See Also:
Serialized Form

Field Summary
private  long authRoleId
          auth role id (primary key)
private static org.apache.log4j.Logger LOG
          constant for the logging
private  java.lang.String name
          role name
private static long serialVersionUID
          Default serial version uid
 
Constructor Summary
AuthRole()
          Default constructor
AuthRole(java.lang.String name)
          Constructor
 
Method Summary
 long getAuthRoleId()
          Gets the authRoleId.
 java.lang.String getName()
          Gets the name.
 void setAuthRoleId(long authRoleId)
          Sets the authRoleId.
 void setName(java.lang.String name)
          Sets the name.
 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
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG
constant for the logging


serialVersionUID

private static final long serialVersionUID
Default serial version uid

See Also:
Constant Field Values

authRoleId

private long authRoleId
auth role id (primary key)


name

private java.lang.String name
role name

Constructor Detail

AuthRole

public AuthRole()
Default constructor


AuthRole

public AuthRole(java.lang.String name)
Constructor

Parameters:
name - 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

getAuthRoleId

public long getAuthRoleId()
Gets the authRoleId.

Returns:
the authRoleId

setAuthRoleId

public void setAuthRoleId(long authRoleId)
Sets the authRoleId.

Parameters:
authRoleId - The authRoleId to set

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name to set


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