public class OperationResultType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected String |
details |
static QName |
F_COMPLEX___TYPE |
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_SERIAL_VERSION_UID |
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 and Description |
---|
OperationResultType()
Creates a new
OperationResultType instance. |
OperationResultType(OperationResultType o)
Creates a new
OperationResultType instance by deeply copying a given OperationResultType instance. |
Modifier and Type | Method and Description |
---|---|
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.
|
protected String operation
protected OperationResultStatusType status
protected ParamsType params
protected Long token
protected String messageCode
protected String message
protected LocalizedMessageType localizedMessage
protected String details
protected List<OperationResultType> partialResults
public static final QName COMPLEX_TYPE
public static final QName F_SERIAL_VERSION_UID
public static final QName F_OPERATION
public static final QName F_STATUS
public static final QName F_PARAMS
public static final QName F_TOKEN
public static final QName F_MESSAGE_CODE
public static final QName F_MESSAGE
public static final QName F_LOCALIZED_MESSAGE
public static final QName F_DETAILS
public static final QName F_PARTIAL_RESULTS
public static final QName F_COMPLEX___TYPE
public OperationResultType()
OperationResultType
instance.public OperationResultType(OperationResultType o)
OperationResultType
instance by deeply copying a given OperationResultType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getOperation()
String
public void setOperation(String value)
value
- allowed object is
String
public OperationResultStatusType getStatus()
OperationResultStatusType
public void setStatus(OperationResultStatusType value)
value
- allowed object is
OperationResultStatusType
public ParamsType getParams()
ParamsType
public void setParams(ParamsType value)
value
- allowed object is
ParamsType
public Long getToken()
Long
public void setToken(Long value)
value
- allowed object is
Long
public String getMessageCode()
String
public void setMessageCode(String value)
value
- allowed object is
String
public String getMessage()
String
public void setMessage(String value)
value
- allowed object is
String
public LocalizedMessageType getLocalizedMessage()
LocalizedMessageType
public void setLocalizedMessage(LocalizedMessageType value)
value
- allowed object is
LocalizedMessageType
public String getDetails()
String
public void setDetails(String value)
value
- allowed object is
String
public List<OperationResultType> getPartialResults()
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
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public OperationResultType clone()
Copyright © 2013 evolveum. All rights reserved.