public class MatchRecognizeRegExAtom extends MatchRecognizeRegEx implements Serializable
Event row regular expressions are organized into a tree-like structure with nodes representing sub-expressions.
Constructor and Description |
---|
MatchRecognizeRegExAtom()
Ctor.
|
MatchRecognizeRegExAtom(String name,
MatchRecogizePatternElementType type)
Ctor.
|
MatchRecognizeRegExAtom(String name,
MatchRecogizePatternElementType type,
MatchRecognizeRegExRepeat optionalRepeat)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns variable name.
|
MatchRecognizeRegExRepeat |
getOptionalRepeat()
Returns the repetition if any is defined
|
MatchRecogizePatternElementType |
getType()
Returns multiplicity.
|
void |
setName(String name)
Sets variable name.
|
void |
setOptionalRepeat(MatchRecognizeRegExRepeat optionalRepeat)
Sets the repetition.
|
void |
setType(MatchRecogizePatternElementType type)
Sets multiplicity.
|
void |
writeEPL(StringWriter writer)
Write EPL.
|
getChildren, getTreeObjectName, setChildren, setTreeObjectName
public MatchRecognizeRegExAtom()
public MatchRecognizeRegExAtom(String name, MatchRecogizePatternElementType type)
name
- of variabletype
- multiplicitypublic MatchRecognizeRegExAtom(String name, MatchRecogizePatternElementType type, MatchRecognizeRegExRepeat optionalRepeat)
name
- of variabletype
- multiplicityoptionalRepeat
- repetitionpublic String getName()
public void setName(String name)
name
- variable name to setpublic MatchRecogizePatternElementType getType()
public void setType(MatchRecogizePatternElementType type)
type
- multiplicitypublic MatchRecognizeRegExRepeat getOptionalRepeat()
public void setOptionalRepeat(MatchRecognizeRegExRepeat optionalRepeat)
optionalRepeat
- repetition to setpublic void writeEPL(StringWriter writer)
MatchRecognizeRegEx
writeEPL
in class MatchRecognizeRegEx
writer
- to use