com.cafesoft.cams.oblig
Class StandardEffect

java.lang.Object
  |
  +--com.cafesoft.cams.oblig.StandardEffect
All Implemented Interfaces:
Effect

public final class StandardEffect
extends Object
implements Effect

Standard implementation of the Effect interface.

Since:
9/22/04
See Also:
Effect

Field Summary
 
Fields inherited from interface com.cafesoft.cams.oblig.Effect
ACCESS_CONTROL_EFFECT_TYPE, AUTHENTICATION_EFFECT_TYPE
 
Constructor Summary
StandardEffect(String type, int status, int reason)
          Create a new StandardEffect object.
 
Method Summary
 int getReason()
          Get the reason code.
 int getStatus()
          Get the status code.
 String getType()
          Get the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardEffect

public StandardEffect(String type,
                      int status,
                      int reason)
Create a new StandardEffect object.

Parameters:
type - the Effect's type.
status - the Effect's status code.
reason - the Effect's reason code.
Method Detail

getType

public String getType()
Get the type.

Specified by:
getType in interface Effect
Returns:
the type.

getStatus

public int getStatus()
Get the status code.

Specified by:
getStatus in interface Effect
Returns:
the status code.

getReason

public int getReason()
Get the reason code.

Specified by:
getReason in interface Effect
Returns:
the reason code.


Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.