org.netbeans.modules.xml.xam.spi
Class ValidationResult

java.lang.Object
  extended by org.netbeans.modules.xml.xam.spi.ValidationResult

public class ValidationResult
extends java.lang.Object

Represents the results of validation from a validator.

Author:
Praveen Savur

Constructor Summary
ValidationResult(java.util.Collection<Validator.ResultItem> validationResult, java.util.Collection<Model> validatedModels)
          Create an instance of validationResult.
 
Method Summary
 java.util.Collection<Model> getValidatedModels()
          Return a list of Validated models.
 java.util.Collection<Validator.ResultItem> getValidationResult()
          Return the Validation Result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationResult

public ValidationResult(java.util.Collection<Validator.ResultItem> validationResult,
                        java.util.Collection<Model> validatedModels)
Create an instance of validationResult.

Parameters:
validationResult - ValidationResult
validatedModels - List of models validated.
Method Detail

getValidationResult

public java.util.Collection<Validator.ResultItem> getValidationResult()
Return the Validation Result

Returns:
ValidationResult

getValidatedModels

public java.util.Collection<Model> getValidatedModels()
Return a list of Validated models.

Returns:
Collection of Validated models.