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