Class CorrectionRuleNode
- java.lang.Object
-
- org.predict4all.nlp.words.correction.model.CorrectionRuleNode
-
public class CorrectionRuleNode extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CorrectionRuleNode.CorrectionRuleNodeType
-
Constructor Summary
Constructors Constructor Description CorrectionRuleNode(CorrectionRuleNode.CorrectionRuleNodeType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(CorrectionRuleNode node)
java.util.List<CorrectionRuleNode>
getChildren()
CorrectionRuleBuilder
getCorrectionRule()
java.lang.String
getName()
CorrectionRuleNode.CorrectionRuleNodeType
getType()
boolean
isEnabled()
void
setCorrectionRule(CorrectionRuleBuilder correctionRule)
void
setEnabled(boolean enabled)
void
setName(java.lang.String name)
java.lang.String
toString()
-
-
-
Constructor Detail
-
CorrectionRuleNode
public CorrectionRuleNode(CorrectionRuleNode.CorrectionRuleNodeType type)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getChildren
public java.util.List<CorrectionRuleNode> getChildren()
-
setName
public void setName(java.lang.String name)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getCorrectionRule
public CorrectionRuleBuilder getCorrectionRule()
-
setCorrectionRule
public void setCorrectionRule(CorrectionRuleBuilder correctionRule)
-
getType
public CorrectionRuleNode.CorrectionRuleNodeType getType()
-
addChild
public void addChild(CorrectionRuleNode node)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-