com.semarchy.mdm.runtime.model.logical
Interface IDataValidation

All Superinterfaces:
Serializable
All Known Subinterfaces:
ICheckValidation, IDTDataValidation, IForeignKeyValidation, ILovValidation, IMandatoryValidation, IPluginValidation, IUniqueKeyValidation
All Known Implementing Classes:
AbstractDataValidation

public interface IDataValidation
extends Serializable

Define a data validation

Author:
sarod

Method Summary
 boolean equals(Object pObj)
          Constraint should return true if they represent the same constraint.
 String getConstraintName()
          The constraint name e.g.
 String getConstraintType()
          The constraint Type e.g.
 IEntity getEntity()
          The validated entity
 int hashCode()
           
 String toString()
           
 

Method Detail

getEntity

IEntity getEntity()
The validated entity

Returns:

getConstraintType

String getConstraintType()
The constraint Type e.g. MANDATORY, FOREIGN...

Returns:

getConstraintName

String getConstraintName()
The constraint name e.g. Attribute name or Validator name

Returns:

equals

boolean equals(Object pObj)
Constraint should return true if they represent the same constraint. i.e. their entity name, constraint type, constraint name and matches.

Overrides:
equals in class Object
Parameters:
pObj -
Returns:

hashCode

int hashCode()
Overrides:
hashCode in class Object
Returns:
See Also:
equals(Object)

toString

String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.