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="minor" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="count" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="hiddenRecordsCount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <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="userFriendlyMessage" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType" 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 Integer |
count |
protected String |
details |
static QName |
F_CONTEXT |
static QName |
F_COUNT |
static QName |
F_DETAILS |
static QName |
F_HIDDEN_RECORDS_COUNT |
static QName |
F_MESSAGE |
static QName |
F_MESSAGE_CODE |
static QName |
F_MINOR |
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 |
static QName |
F_USER_FRIENDLY_MESSAGE |
protected Integer |
hiddenRecordsCount |
protected String |
message |
protected String |
messageCode |
protected Boolean |
minor |
protected String |
operation |
protected ParamsType |
params |
protected List<OperationResultType> |
partialResults |
protected ParamsType |
returns |
protected OperationResultStatusType |
status |
protected Long |
token |
protected LocalizableMessageType |
userFriendlyMessage |
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 |
---|---|
ParamsType |
beginContext() |
ParamsType |
beginParams() |
OperationResultType |
beginPartialResults() |
ParamsType |
beginReturns() |
OperationResultType |
clone()
Creates and returns a deep copy of this object.
|
OperationResultType |
context(ParamsType value) |
OperationResultType |
count(Integer value) |
OperationResultType |
details(String value) |
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.
|
Integer |
getCount()
Gets the value of the count property.
|
String |
getDetails()
Gets the value of the details property.
|
Integer |
getHiddenRecordsCount()
Gets the value of the hiddenRecordsCount 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.
|
LocalizableMessageType |
getUserFriendlyMessage()
Gets the value of the userFriendlyMessage property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
OperationResultType |
hiddenRecordsCount(Integer value) |
Boolean |
isMinor()
Gets the value of the minor property.
|
OperationResultType |
message(String value) |
OperationResultType |
messageCode(String value) |
OperationResultType |
minor(Boolean value) |
OperationResultType |
operation(String value) |
OperationResultType |
params(ParamsType value) |
OperationResultType |
partialResults(OperationResultType value) |
OperationResultType |
returns(ParamsType value) |
void |
setContext(ParamsType value)
Sets the value of the context property.
|
void |
setCount(Integer value)
Sets the value of the count property.
|
void |
setDetails(String value)
Sets the value of the details property.
|
void |
setHiddenRecordsCount(Integer value)
Sets the value of the hiddenRecordsCount property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
void |
setMessageCode(String value)
Sets the value of the messageCode property.
|
void |
setMinor(Boolean value)
Sets the value of the minor 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.
|
void |
setUserFriendlyMessage(LocalizableMessageType value)
Sets the value of the userFriendlyMessage property.
|
OperationResultType |
status(OperationResultStatusType value) |
OperationResultType |
token(Long value) |
String |
toString()
Generates a String representation of the contents of this type.
|
OperationResultType |
userFriendlyMessage(LocalizableMessageType value) |
protected String operation
protected OperationResultStatusType status
protected Boolean minor
protected Integer count
protected Integer hiddenRecordsCount
protected ParamsType params
protected ParamsType context
protected ParamsType returns
protected Long token
protected String messageCode
protected String message
protected LocalizableMessageType userFriendlyMessage
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_MINOR
public static final QName F_COUNT
public static final QName F_HIDDEN_RECORDS_COUNT
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_USER_FRIENDLY_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 Boolean isMinor()
Boolean
public void setMinor(Boolean value)
value
- allowed object is
Boolean
public Integer getCount()
Integer
public void setCount(Integer value)
value
- allowed object is
Integer
public Integer getHiddenRecordsCount()
Integer
public void setHiddenRecordsCount(Integer value)
value
- allowed object is
Integer
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 LocalizableMessageType getUserFriendlyMessage()
LocalizableMessageType
public void setUserFriendlyMessage(LocalizableMessageType value)
value
- allowed object is
LocalizableMessageType
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 operation(String value)
public OperationResultType status(OperationResultStatusType value)
public OperationResultType minor(Boolean value)
public OperationResultType count(Integer value)
public OperationResultType hiddenRecordsCount(Integer value)
public OperationResultType params(ParamsType value)
public ParamsType beginParams()
public OperationResultType context(ParamsType value)
public ParamsType beginContext()
public OperationResultType returns(ParamsType value)
public ParamsType beginReturns()
public OperationResultType token(Long value)
public OperationResultType messageCode(String value)
public OperationResultType message(String value)
public OperationResultType userFriendlyMessage(LocalizableMessageType value)
public OperationResultType details(String value)
public OperationResultType partialResults(OperationResultType value)
public OperationResultType beginPartialResults()
public OperationResultType clone()
Copyright © 2019 Evolveum. All rights reserved.