org.objectweb.jorm.verifier.api

Interface Verifier

public interface Verifier

It provides the functions used to verify the semantical correctness of meta-information.

Author:
P. Dechamboux

Method Summary

void
addMappingVerifier(String mappername, MappingVerifier mappingVerifier)
Adds a mapping verifier which verifies a specific mapping part of the meta information.
void
setMetaInfoManager(Manager mim)
Assigns the meta information manager to this Verifier.
void
setProjectName(String name)
Assigns a project name to this verifier.
void
verify(Collection mos)
Verifies the meta information.

Method Details

addMappingVerifier

public void addMappingVerifier(String mappername,
                               MappingVerifier mappingVerifier)
Adds a mapping verifier which verifies a specific mapping part of the meta information.

Parameters:
mappername - The name of the mapper.
mappingVerifier - The Mapping Verifier object.


setMetaInfoManager

public void setMetaInfoManager(Manager mim)
Assigns the meta information manager to this Verifier.

Parameters:
mim - the meta information manager to use.


setProjectName

public void setProjectName(String name)
Assigns a project name to this verifier.

Parameters:
name - The associated name.


verify

public void verify(Collection mos)
Verifies the meta information.