|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.modlet.ModelValidationReport
public class ModelValidationReport
Model
validation report.
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 |
---|
public ModelValidationReport()
ModelValidationReport
instance.
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |