com.evolveum.midpoint.xml.ns._public.common.common_2a
Class OperationResultType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.OperationResultType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class OperationResultType
extends Object
implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

TODO

Java class for OperationResultType complex type.

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

 <complexType name="OperationResultType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="operation" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="status" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}OperationResultStatusType"/>
         <element name="params" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ParamsType" minOccurs="0"/>
         <element name="token" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="messageCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="localizedMessage" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}LocalizedMessageType" minOccurs="0"/>
         <element name="details" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="partialResults" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}OperationResultType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
static QName COMPLEX_TYPE
           
protected  String details
           
static QName F_DETAILS
           
static QName F_LOCALIZED_MESSAGE
           
static QName F_MESSAGE
           
static QName F_MESSAGE_CODE
           
static QName F_OPERATION
           
static QName F_PARAMS
           
static QName F_PARTIAL_RESULTS
           
static QName F_STATUS
           
static QName F_TOKEN
           
protected  LocalizedMessageType localizedMessage
           
protected  String message
           
protected  String messageCode
           
protected  String operation
           
protected  ParamsType params
           
protected  List<OperationResultType> partialResults
           
protected  OperationResultStatusType status
           
protected  Long token
           
 
Constructor Summary
OperationResultType()
          Creates a new OperationResultType instance.
OperationResultType(OperationResultType o)
          Creates a new OperationResultType instance by deeply copying a given OperationResultType instance.
 
Method Summary
 OperationResultType clone()
          Creates and returns a deep copy of this object.
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 String getDetails()
          Gets the value of the details property.
 LocalizedMessageType getLocalizedMessage()
          Gets the value of the localizedMessage property.
 String getMessage()
          Gets the value of the message property.
 String getMessageCode()
          Gets the value of the messageCode property.
 String getOperation()
          Gets the value of the operation property.
 ParamsType getParams()
          Gets the value of the params property.
 List<OperationResultType> getPartialResults()
          Gets the value of the partialResults property.
 OperationResultStatusType getStatus()
          Gets the value of the status property.
 Long getToken()
          Gets the value of the token property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setDetails(String value)
          Sets the value of the details property.
 void setLocalizedMessage(LocalizedMessageType value)
          Sets the value of the localizedMessage property.
 void setMessage(String value)
          Sets the value of the message property.
 void setMessageCode(String value)
          Sets the value of the messageCode property.
 void setOperation(String value)
          Sets the value of the operation property.
 void setParams(ParamsType value)
          Sets the value of the params property.
 void setStatus(OperationResultStatusType value)
          Sets the value of the status property.
 void setToken(Long value)
          Sets the value of the token property.
 String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

operation

protected String operation

status

protected OperationResultStatusType status

params

protected ParamsType params

token

protected Long token

messageCode

protected String messageCode

message

protected String message

localizedMessage

protected LocalizedMessageType localizedMessage

details

protected String details

partialResults

protected List<OperationResultType> partialResults

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_OPERATION

public static final QName F_OPERATION

F_STATUS

public static final QName F_STATUS

F_PARAMS

public static final QName F_PARAMS

F_TOKEN

public static final QName F_TOKEN

F_MESSAGE_CODE

public static final QName F_MESSAGE_CODE

F_MESSAGE

public static final QName F_MESSAGE

F_LOCALIZED_MESSAGE

public static final QName F_LOCALIZED_MESSAGE

F_DETAILS

public static final QName F_DETAILS

F_PARTIAL_RESULTS

public static final QName F_PARTIAL_RESULTS
Constructor Detail

OperationResultType

public OperationResultType()
Creates a new OperationResultType instance.


OperationResultType

public OperationResultType(OperationResultType o)
Creates a new OperationResultType instance by deeply copying a given OperationResultType instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getOperation

public String getOperation()
Gets the value of the operation property.

Returns:
possible object is String

setOperation

public void setOperation(String value)
Sets the value of the operation property.

Parameters:
value - allowed object is String

getStatus

public OperationResultStatusType getStatus()
Gets the value of the status property.

Returns:
possible object is OperationResultStatusType

setStatus

public void setStatus(OperationResultStatusType value)
Sets the value of the status property.

Parameters:
value - allowed object is OperationResultStatusType

getParams

public ParamsType getParams()
Gets the value of the params property.

Returns:
possible object is ParamsType

setParams

public void setParams(ParamsType value)
Sets the value of the params property.

Parameters:
value - allowed object is ParamsType

getToken

public Long getToken()
Gets the value of the token property.

Returns:
possible object is Long

setToken

public void setToken(Long value)
Sets the value of the token property.

Parameters:
value - allowed object is Long

getMessageCode

public String getMessageCode()
Gets the value of the messageCode property.

Returns:
possible object is String

setMessageCode

public void setMessageCode(String value)
Sets the value of the messageCode property.

Parameters:
value - allowed object is String

getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getLocalizedMessage

public LocalizedMessageType getLocalizedMessage()
Gets the value of the localizedMessage property.

Returns:
possible object is LocalizedMessageType

setLocalizedMessage

public void setLocalizedMessage(LocalizedMessageType value)
Sets the value of the localizedMessage property.

Parameters:
value - allowed object is LocalizedMessageType

getDetails

public String getDetails()
Gets the value of the details property.

Returns:
possible object is String

setDetails

public void setDetails(String value)
Sets the value of the details property.

Parameters:
value - allowed object is String

getPartialResults

public List<OperationResultType> getPartialResults()
Gets the value of the partialResults 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 partialResults property.

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

    getPartialResults().add(newItem);
 

Objects of the following type(s) are allowed in the list OperationResultType


toString

public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

clone

public OperationResultType clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2013 evolveum. All Rights Reserved.