com.cinecolombia.common.utilcomponents
Class ManejoUsersValue

java.lang.Object
  |
  +--com.cinecolombia.common.utilcomponents.ManejoUsersValue
All Implemented Interfaces:
java.io.Serializable

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

This class represents the sent value in the direction web -> ejb when the {Usecase} usecase asks ejb services

Author:
CincoSOFT
See Also:
Serialized Form
Created:
Abril 2003

Field Summary
private  User user
          a specific user (for selecting, inserting or updating)
private  long[] userProfilesCodes
          user profiles codes (of the specific user):
 
Constructor Summary
ManejoUsersValue(User user, long[] userProfilesCodes)
          constructor: initializes attributes
 
Method Summary
 User getUser()
          get method for user
 long[] getUserProfilesCodes()
          get method for userProfilesCodes
 java.lang.String toString()
          String representation of the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

user

private User user
a specific user (for selecting, inserting or updating)


userProfilesCodes

private long[] userProfilesCodes
user profiles codes (of the specific user):

Constructor Detail

ManejoUsersValue

public ManejoUsersValue(User user,
                        long[] userProfilesCodes)
constructor: initializes attributes

Parameters:
user - a specific user
userProfilesCodes - user profiles codes
Method Detail

getUser

public User getUser()
get method for user

Returns:
The user value

getUserProfilesCodes

public long[] getUserProfilesCodes()
get method for userProfilesCodes

Returns:
The userProfilesCodes value

toString

public java.lang.String toString()
String representation of the value

Overrides:
toString in class java.lang.Object
Returns:
text of value