generators
Class RuleAbstract

java.lang.Object
  |
  +--generators.RuleAbstract
Direct Known Subclasses:
RuleGUI, RuleTAB

abstract class RuleAbstract
extends java.lang.Object
implements RuleIF


Field Summary
protected  int m_nRuleSize
           
protected  java.lang.String m_sRule
           
 
Constructor Summary
RuleAbstract()
           
RuleAbstract(java.lang.String sRule)
           
 
Method Summary
 int GetMod()
           
 int GetMod(java.lang.String sRule)
           
 int GetRule(int nRuleID)
           
 int GetRule(int nPos, java.lang.String sRule)
           
 java.lang.String GetRuleString()
           
 boolean IsDisable()
           
 boolean IsEnable()
           
 boolean IsMultiple()
           
 boolean IsNew()
           
 boolean IsValid()
           
 void SetRule(java.lang.String sRule)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

m_sRule

protected java.lang.String m_sRule

m_nRuleSize

protected int m_nRuleSize
Constructor Detail

RuleAbstract

public RuleAbstract()

RuleAbstract

public RuleAbstract(java.lang.String sRule)
Method Detail

IsValid

public boolean IsValid()
Specified by:
IsValid in interface RuleIF

SetRule

public void SetRule(java.lang.String sRule)
Specified by:
SetRule in interface RuleIF

GetRuleString

public java.lang.String GetRuleString()
Specified by:
GetRuleString in interface RuleIF

GetRule

public int GetRule(int nRuleID)
Specified by:
GetRule in interface RuleIF

GetRule

public int GetRule(int nPos,
                   java.lang.String sRule)
Specified by:
GetRule in interface RuleIF

GetMod

public int GetMod()
Specified by:
GetMod in interface RuleIF

GetMod

public int GetMod(java.lang.String sRule)
Specified by:
GetMod in interface RuleIF

IsNew

public boolean IsNew()
Specified by:
IsNew in interface RuleIF

IsDisable

public boolean IsDisable()
Specified by:
IsDisable in interface RuleIF

IsEnable

public boolean IsEnable()
Specified by:
IsEnable in interface RuleIF

IsMultiple

public boolean IsMultiple()
Specified by:
IsMultiple in interface RuleIF