Package com.jedox.palojlib.main
Class Rule
java.lang.Object
com.jedox.palojlib.main.Rule
- All Implemented Interfaces:
IRule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoptional commentget the rule content or definitionget the external identifier of the ruleintget the identifier for this ruledoubleget the position for this rulegetQuery()get the query for this rule, empty for regular rules.intget the template rule identifier for this rule, -1 for regular rules.longget the timestamp of the rule, when it was createdbooleanisActive()get the boolean value whether a rule is active
-
Constructor Details
-
Rule
-
-
Method Details
-
getIdentifier
public int getIdentifier()Description copied from interface:IRuleget the identifier for this rule- Specified by:
getIdentifierin interfaceIRule- Returns:
- id
-
getDefinition
Description copied from interface:IRuleget the rule content or definition- Specified by:
getDefinitionin interfaceIRule- Returns:
- rule definition
-
getExternalIdentifier
Description copied from interface:IRuleget the external identifier of the rule- Specified by:
getExternalIdentifierin interfaceIRule- Returns:
- optional id
-
getTimestamp
public long getTimestamp()Description copied from interface:IRuleget the timestamp of the rule, when it was created- Specified by:
getTimestampin interfaceIRule- Returns:
- long value of the timestamp
-
getComment
Description copied from interface:IRuleoptional comment- Specified by:
getCommentin interfaceIRule- Returns:
- comment of the rule
-
isActive
public boolean isActive()Description copied from interface:IRuleget the boolean value whether a rule is active -
getPosition
public double getPosition()Description copied from interface:IRuleget the position for this rule- Specified by:
getPositionin interfaceIRule- Returns:
- position
-
getQuery
Description copied from interface:IRuleget the query for this rule, empty for regular rules. -
getTemplateRuleIdentifier
public int getTemplateRuleIdentifier()Description copied from interface:IRuleget the template rule identifier for this rule, -1 for regular rules.- Specified by:
getTemplateRuleIdentifierin interfaceIRule- Returns:
- template rule id
-