com.evolveum.midpoint.xml.ns._public.common.common_1
Class TestResultType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.TestResultType
All Implemented Interfaces:
java.io.Serializable

public class TestResultType
extends java.lang.Object
implements java.io.Serializable

!!! DEPRECATED !!! Result of a internal midPoint test.

Java class for TestResultType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TestResultType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="error" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}DiagnosticsMessageType"/>
           <element name="warning" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}DiagnosticsMessageType"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<javax.xml.bind.JAXBElement<DiagnosticsMessageType>> errorOrWarning
           
protected  boolean success
           
 
Constructor Summary
TestResultType()
           
 
Method Summary
 java.util.List<javax.xml.bind.JAXBElement<DiagnosticsMessageType>> getErrorOrWarning()
          Gets the value of the errorOrWarning property.
 boolean isSuccess()
          Gets the value of the success property.
 void setSuccess(boolean value)
          Sets the value of the success property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

success

protected boolean success

errorOrWarning

protected java.util.List<javax.xml.bind.JAXBElement<DiagnosticsMessageType>> errorOrWarning
Constructor Detail

TestResultType

public TestResultType()
Method Detail

isSuccess

public boolean isSuccess()
Gets the value of the success property.


setSuccess

public void setSuccess(boolean value)
Sets the value of the success property.


getErrorOrWarning

public java.util.List<javax.xml.bind.JAXBElement<DiagnosticsMessageType>> getErrorOrWarning()
Gets the value of the errorOrWarning property.

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 JAXB object. This is why there is not a set method for the errorOrWarning property.

For example, to add a new item, do as follows:

    getErrorOrWarning().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DiagnosticsMessageType> JAXBElement<DiagnosticsMessageType>



Copyright © 2011 evolveum. All Rights Reserved.