org.jomc.modlet
Class ModelValidationReport

Package class diagram package ModelValidationReport
java.lang.Object
  extended by org.jomc.modlet.ModelValidationReport
All Implemented Interfaces:
Serializable

public class ModelValidationReport
extends Object
implements Serializable

Model validation report.

Version:
$JOMC: ModelValidationReport.java 3838 2011-10-08 20:15:41Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Nested Class Summary
static class ModelValidationReport.Detail
          Report detail.
 
Constructor Summary
ModelValidationReport()
          Creates a new ModelValidationReport instance.
 
Method Summary
 List<ModelValidationReport.Detail> getDetails()
          Gets all details of the instance.
 List<ModelValidationReport.Detail> getDetails(String identifier)
          Gets all details of the instance matching a given identifier.
 boolean isModelValid()
          Gets a flag indicating model validity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelValidationReport

public ModelValidationReport()
Creates a new ModelValidationReport instance.

Method Detail

getDetails

public List<ModelValidationReport.Detail> getDetails()
Gets all details of the instance.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the details property.

Returns:
All details of the instance.

getDetails

public List<ModelValidationReport.Detail> getDetails(String identifier)
Gets all details of the instance matching a given identifier.

Parameters:
identifier - The identifier of the details to return or null.
Returns:
An unmodifiable list containing all details of the instance matching identifier.

isModelValid

public boolean isModelValid()
Gets a flag indicating model validity.

Returns:
true, if all details are set to a level lower or equal to WARNING; false, if at least one detail is set to a level higher than WARNING.
See Also:
getDetails()


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.