com.cinecolombia.common.utilcomponents
Class ManejoPerfilesValue

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

public class ManejoPerfilesValue
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:
Junio 2003

Field Summary
private  long[] codigoActionPermitida
          List of actions allowed
private  long codigoPerfil
          value of codigo perfil
private  java.lang.String nombrePerfil
          value of nombre perfil
 
Constructor Summary
ManejoPerfilesValue(long codigoPerfil, java.lang.String nombrePerfil, long[] codigoActionPermitida)
          constructor: initializes attributes
 
Method Summary
 long[] getCodigoActionPermitida()
          get method for list of actions allowed
 long getCodigoPerfil()
          get method for codigoPerfil
 java.lang.String getNombrePerfil()
          get method for nombrePerfil
 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

codigoPerfil

private long codigoPerfil
value of codigo perfil


nombrePerfil

private java.lang.String nombrePerfil
value of nombre perfil


codigoActionPermitida

private long[] codigoActionPermitida
List of actions allowed

Constructor Detail

ManejoPerfilesValue

public ManejoPerfilesValue(long codigoPerfil,
                           java.lang.String nombrePerfil,
                           long[] codigoActionPermitida)
constructor: initializes attributes

Parameters:
codigoPerfil - value of codigo Perfil. This field is -1, if the perfil is new
nombrePerfil - name of Perfil
codigoActionPermitida - List of actions allowed
Method Detail

getCodigoPerfil

public long getCodigoPerfil()
get method for codigoPerfil

Returns:
codigoPerfil The codigoPerfil value

getNombrePerfil

public java.lang.String getNombrePerfil()
get method for nombrePerfil

Returns:
nombrePerfil The nombrePerfil value

getCodigoActionPermitida

public long[] getCodigoActionPermitida()
get method for list of actions allowed

Returns:
codigoActionPermitida The list of actions allowed

toString

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

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