org.makumba.providers.datadefinition.mdd.validation
Class MultiUniquenessValidationRule

java.lang.Object
  extended by antlr.BaseAST
      extended by antlr.CommonAST
          extended by org.makumba.providers.datadefinition.mdd.MDDAST
              extended by org.makumba.providers.datadefinition.mdd.ValidationRuleNode
                  extended by org.makumba.providers.datadefinition.mdd.validation.MultiUniquenessValidationRule
All Implemented Interfaces:
antlr.collections.AST, Serializable, Comparable<ValidationRule>, ValidationRule

public class MultiUniquenessValidationRule
extends ValidationRuleNode

A validation rule for multi-uniqueness keys

Version:
$Id: MultiUniquenessValidationRule.java,v 1.1 29.06.2009 14:18:03 gaym Exp $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.makumba.providers.datadefinition.mdd.ValidationRuleNode
arguments, comparisonExpression, expression, field, lowerBound, mdd, message, name, type, upperBound
 
Fields inherited from class org.makumba.providers.datadefinition.mdd.MDDAST
makumbaType, wasIncluded
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
MultiUniquenessValidationRule(MDDNode mdd, antlr.collections.AST originAST, ValidationType type, FieldNode parentField)
           
 
Method Summary
 String getRuleName()
          Gets the name of this rule.
 
Methods inherited from class org.makumba.providers.datadefinition.mdd.ValidationRuleNode
checkApplicability, compareTo, getComparisonExpression, getDataDefinition, getErrorMessage, getExpression, getFieldDefinition, getLowerBound, getUpperBound, getValidationRuleArguments, getValidationRuleArgumentType, getValidationType, throwException, toString, validate
 
Methods inherited from class org.makumba.providers.datadefinition.mdd.MDDAST
getColumn, getLine, initialize, initialize, setCol, setLine
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, setText, setType
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiUniquenessValidationRule

public MultiUniquenessValidationRule(MDDNode mdd,
                                     antlr.collections.AST originAST,
                                     ValidationType type,
                                     FieldNode parentField)
Method Detail

getRuleName

public String getRuleName()
Description copied from interface: ValidationRule
Gets the name of this rule.

Specified by:
getRuleName in interface ValidationRule
Overrides:
getRuleName in class ValidationRuleNode