|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.ModelObjectValidationReport
public class ModelObjectValidationReport
Validation report about a model object.
| Nested Class Summary | |
|---|---|
static class |
ModelObjectValidationReport.Detail
Report detail. |
| Constructor Summary | |
|---|---|
ModelObjectValidationReport(javax.xml.bind.JAXBElement modelObject)
Creates a new ModelObjectValidationReport instance taking a model object. |
|
| Method Summary | |
|---|---|
List<ModelObjectValidationReport.Detail> |
getDetails()
Gets all details of the instance. |
List<ModelObjectValidationReport.Detail> |
getDetails(String identifier)
Gets all details of the instance matching a given identifier. |
javax.xml.bind.JAXBElement |
getModelObject()
Gets the model object of the instance. |
boolean |
isModelObjectValid()
Gets a flag indicating if the model object of the instance is considered valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelObjectValidationReport(javax.xml.bind.JAXBElement modelObject)
ModelObjectValidationReport instance taking a model object.
modelObject - The model object of the report.| Method Detail |
|---|
public javax.xml.bind.JAXBElement getModelObject()
public List<ModelObjectValidationReport.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<ModelObjectValidationReport.Detail> getDetails(String identifier)
identifier - The identifier of the details to return or null.
identifier.public boolean isModelObjectValid()
true if the model object of the instance is considered valid; false if the model object
of the instance is considered invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||