Class FaultType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.fault_3.FaultType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
CommunicationFaultType,ConfigurationFaultType,IllegalArgumentFaultType,ObjectAccessFaultType,SystemFaultType,UnsupportedOperationFaultType
public abstract class FaultType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for FaultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FaultType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/fault-3}message"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/fault-3}operationResult"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_MESSAGEstatic ItemNameF_OPERATION_RESULTprotected Stringmessageprotected OperationResultTypeoperationResult
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)OperationResultTypebeginOperationResult()FaultTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)StringgetMessage()Gets the value of the message property.OperationResultTypegetOperationResult()Gets the value of the operationResult property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)FaultTypemessage(String value)FaultTypeoperationResult(OperationResultType value)voidsetMessage(String value)Sets the value of the message property.voidsetOperationResult(OperationResultType value)Sets the value of the operationResult property.StringtoString()Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
message
protected String message
-
operationResult
protected OperationResultType operationResult
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_MESSAGE
public static final ItemName F_MESSAGE
-
F_OPERATION_RESULT
public static final ItemName F_OPERATION_RESULT
-
-
Constructor Detail
-
FaultType
public FaultType()
Creates a newFaultTypeinstance.
-
FaultType
public FaultType(FaultType o)
Creates a newFaultTypeinstance by deeply copying a givenFaultTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
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 isString
-
getOperationResult
public OperationResultType getOperationResult()
Gets the value of the operationResult property.- Returns:
- possible object is
OperationResultType
-
setOperationResult
public void setOperationResult(OperationResultType value)
Sets the value of the operationResult property.- Parameters:
value- allowed object isOperationResultType
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
operationResult
public FaultType operationResult(OperationResultType value)
-
beginOperationResult
public OperationResultType beginOperationResult()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
-