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