return(false);
}
@Override
protected PatternMatchRuleDataREF typeCheck(Object value) throws DmcValueException {
PatternMatchRuleDataREF rc = null;
if (value instanceof PatternMatchRuleDataREF)
rc = (PatternMatchRuleDataREF)value;
else if (value instanceof PatternMatchRuleDataDMO)
rc = new PatternMatchRuleDataREF((PatternMatchRuleDataDMO)value);
else if (value instanceof RuleName)
rc = new PatternMatchRuleDataREF((RuleName)value);
else if (value instanceof String)
rc = new PatternMatchRuleDataREF((String)value);
else
throw(new DmcValueException("Object of class: " + value.getClass().getName() + " passed where object compatible with PatternMatchRuleDataREF, PatternMatchRuleDataDMO or String expected."));
return(rc);
}