private DefaultRules(final DefaultDef.AggRules rules) { this.rules = rules; this.factToPattern = new HashMap<String, Recognizer.Matcher>(); this.foreignKeyMatcherMap = new HashMap<String, Recognizer.Matcher>(); this.tag = MondrianProperties.instance().AggregateRuleTag.getDefaultValue(); }
/** * Sets the value of this property. * * @return The previous value, or the default value if not set. */ public String set(String value) { String prevValue = setString(value); if (prevValue == null) { prevValue = getDefaultValue(); } return prevValue; } }