Class DataCollectionNodeExpressionsGrammar
java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.node.expressions.grammar.DataCollectionNodeExpressionsGrammar
The Class that defines the data collection node expressions grammar.
- Since:
- 12.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds keyword.getKeyword(String keywordName) Returns the keyword.Returns the keywords.getReferencedKeywordNames(String expression) Returns the referenced keyword names.getReferencedTokens(String expression) Returns the referenced tokens.booleanhasKeyword(String keywordName) Checks if it has keyword.static booleanisKeywordNameValid(String keywordName) Checks if the keyword name is valid.static booleanisNodeCodeValid(String nodeCode) Checks if node code is valid.
-
Field Details
-
KEYWORD_NAME_PATTERN
-
NODE_CODE_PATTERN
-
TOKEN_PATTERN
-
keywords
-
-
Constructor Details
-
DataCollectionNodeExpressionsGrammar
public DataCollectionNodeExpressionsGrammar()
-
-
Method Details
-
addKeyword
Adds keyword.- Parameters:
keyword- the keyword
-
getKeyword
Returns the keyword.- Parameters:
keywordName- the keyword name- Returns:
- the keyword
-
hasKeyword
Checks if it has keyword.- Parameters:
keywordName- the keyword name- Returns:
- true, if successful
-
getKeywords
Returns the keywords.- Returns:
- the keywords
-
getReferencedKeywordNames
Returns the referenced keyword names.- Parameters:
expression- the expression- Returns:
- the referenced keyword names
-
getReferencedTokens
Returns the referenced tokens.- Parameters:
expression- the expression- Returns:
- the referenced tokens
-
isKeywordNameValid
Checks if the keyword name is valid.- Parameters:
keywordName- the keyword name- Returns:
- true, if is keyword name valid
-
isNodeCodeValid
Checks if node code is valid.- Parameters:
nodeCode- the node code- Returns:
- true, if is node code valid
-