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-3}OperationResultStatusType"/> <element name="params" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ParamsType" minOccurs="0"/> <element name="context" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ParamsType" minOccurs="0"/> <element name="returns" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}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-3}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-3}OperationResultType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected ParamsType |
context |
protected String |
details |
static QName |
F_CONTEXT |
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_RETURNS |
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 ParamsType |
returns |
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) |
ParamsType |
getContext()
Gets the value of the context property.
|
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.
|
ParamsType |
getReturns()
Gets the value of the returns 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 |
setContext(ParamsType value)
Sets the value of the context property.
|
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 |
setReturns(ParamsType value)
Sets the value of the returns 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 ParamsType context
protected ParamsType returns
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_OPERATION
public static final QName F_STATUS
public static final QName F_PARAMS
public static final QName F_CONTEXT
public static final QName F_RETURNS
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 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 ParamsType getContext()
ParamsType
public void setContext(ParamsType value)
value
- allowed object is
ParamsType
public ParamsType getReturns()
ParamsType
public void setReturns(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 © 2014 Evolveum. All rights reserved.