com.cinecolombia.common.utilcomponents
Class ManejoPerfilesModel

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

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

This class represents the sent data (answer) in the direction ejb -> web when the ManejoPerfiles usecase asks ejb services

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

Field Summary
private  Profile profile
          Select profile
private  java.util.ArrayList systemProfiles
          List of system profiles
 
Constructor Summary
ManejoPerfilesModel(java.util.ArrayList systemProfiles, Profile profile)
          constructor: initializes attributes
 
Method Summary
 Profile getProfile()
          get method for Object Profile
 java.util.ArrayList getSystemProfiles()
          Get method for list of system profiles
 java.lang.String toString()
          String representation of the model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

systemProfiles

private java.util.ArrayList systemProfiles
List of system profiles


profile

private Profile profile
Select profile

Constructor Detail

ManejoPerfilesModel

public ManejoPerfilesModel(java.util.ArrayList systemProfiles,
                           Profile profile)
constructor: initializes attributes

Parameters:
systemProfiles - Arraylist of system profiles. When each element is a CodeDescription composed by(codigoPerfil,nombrePerfil)
profile - Object composed by Profile's attributes
Method Detail

getSystemProfiles

public java.util.ArrayList getSystemProfiles()
Get method for list of system profiles

Returns:
systemProfiles List of system profiles

getProfile

public Profile getProfile()
get method for Object Profile

Returns:
profile Object Profile

toString

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

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