public class ModelValidationReport extends Object implements Serializable
Model
validation report.Modifier and Type | Class and Description |
---|---|
static class |
ModelValidationReport.Detail
Report detail.
|
Constructor and Description |
---|
ModelValidationReport()
Creates a new
ModelValidationReport instance. |
Modifier and Type | Method and Description |
---|---|
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.
|
public ModelValidationReport()
ModelValidationReport
instance.public List<ModelValidationReport.Detail> getDetails()
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.
public List<ModelValidationReport.Detail> getDetails(String identifier)
identifier
- The identifier of the details to return or null
.identifier
.public boolean isModelValid()
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
.getDetails()
Copyright © 2005–2014 The JOMC Project. All rights reserved.