OCL

org.topcased.service.oclchecker.helper
Class ResultModelFactory

java.lang.Object
  extended by org.topcased.service.oclchecker.helper.ResultModelFactory

public class ResultModelFactory
extends java.lang.Object

This factory allows a convenient way to create a new result model that can typed 'Check' or 'Statistic'


Constructor Summary
ResultModelFactory(EObject modelToCheck, java.lang.String ruleFilePath, java.lang.Object[] itemsToCheck)
          Constructor
 
Method Summary
 Model buildCheckResultModel()
          Builds a new check result model
 boolean getGlobalResult()
          Getter on the global result of a check.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultModelFactory

public ResultModelFactory(EObject modelToCheck,
                          java.lang.String ruleFilePath,
                          java.lang.Object[] itemsToCheck)
Constructor

Method Detail

buildCheckResultModel

public Model buildCheckResultModel()
Builds a new check result model

Returns:
the created result model

getGlobalResult

public boolean getGlobalResult()
Getter on the global result of a check.

Returns:
The global result of a check

OCL

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.