Package com.jedox.palojlib.interfaces
Interface IRule
- All Known Implementing Classes:
Rule
public interface IRule
represent a rule in olap server cube
- Author:
- khaddadin
-
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
-
Method Details
-
getIdentifier
int getIdentifier()get the identifier for this rule- Returns:
- id
-
getDefinition
String getDefinition()get the rule content or definition- Returns:
- rule definition
-
getExternalIdentifier
String getExternalIdentifier()get the external identifier of the rule- Returns:
- optional id
-
getTimestamp
long getTimestamp()get the timestamp of the rule, when it was created- Returns:
- long value of the timestamp
-
getComment
String getComment()optional comment- Returns:
- comment of the rule
-
isActive
boolean isActive()get the boolean value whether a rule is active- Returns:
- true if active, false otherwise
-
getPosition
double getPosition()get the position for this rule- Returns:
- position
-
getQuery
String getQuery()get the query for this rule, empty for regular rules.- Returns:
- query
-
getTemplateRuleIdentifier
int getTemplateRuleIdentifier()get the template rule identifier for this rule, -1 for regular rules.- Returns:
- template rule id
-