com.cafesoft.cams.oblig
Interface EffectMatch

All Known Implementing Classes:
StandardEffectMatch

public interface EffectMatch

EffectMatch defines the interface for objects that match a given Effect against status and/or reason patterns.

Since:
9/22/2004

Field Summary
static int ANY_REASON_CODE
          Constant used to represent ANY Effect reason code.
static int ANY_STATUS_CODE
          Constant used to represent ANY Effect status code.
 
Method Summary
 boolean matches(Effect effect)
          Returns true if an Effect matches the status and reason patterns.
 

Field Detail

ANY_STATUS_CODE

public static final int ANY_STATUS_CODE
Constant used to represent ANY Effect status code.

See Also:
Constant Field Values

ANY_REASON_CODE

public static final int ANY_REASON_CODE
Constant used to represent ANY Effect reason code.

See Also:
Constant Field Values
Method Detail

matches

public boolean matches(Effect effect)
Returns true if an Effect matches the status and reason patterns.

Returns:
true if a match, else false.


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