com.cinecolombia.common.utilcomponents
Class Action

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

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

This class is an auxiliary class of ManejoPerfilesModel.

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

Field Summary
private  long codigoAccion
          Code of action
private  java.lang.String nombreAccion
          Name of action
private  boolean permitida
          State of action
 
Constructor Summary
Action(long codigoAccion, java.lang.String nombreAccion, boolean permitida)
          constructor: initializes attributes
 
Method Summary
 long getCodigoAccion()
          get method for code of action
 java.lang.String getNombreAccion()
          get method for name of action
 boolean getPermitida()
          Get method for State of action
 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

codigoAccion

private long codigoAccion
Code of action


nombreAccion

private java.lang.String nombreAccion
Name of action


permitida

private boolean permitida
State of action

Constructor Detail

Action

public Action(long codigoAccion,
              java.lang.String nombreAccion,
              boolean permitida)
constructor: initializes attributes

Parameters:
codigoAccion - Code of action
nombreAccion - Name of action
permitida - State of action. The action 'enter' is used by every use cases. This option indicates if the profile can enter in the use case.
Method Detail

getCodigoAccion

public long getCodigoAccion()
get method for code of action

Returns:
codigoAccion Code of action

getNombreAccion

public java.lang.String getNombreAccion()
get method for name of action

Returns:
nombreAccion Name of action

getPermitida

public boolean getPermitida()
Get method for State of action

Returns:
permitida State of action

toString

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

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