public class UpdateResourcePropertiesRequestFailedFault extends BaseFault
This class represents the XML complexType "wsrf-rp:UpdateResourcePropertiesRequestFailedFaultType"
<xsd:complexType name="UpdateResourcePropertiesRequestFailedFaultType">
<xsd:complexContent>
<xsd:extension base="wsrf-bf:BaseFaultType">
<xsd:sequence>
<xsd:element name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ResourcePropertyChangeFailureType">
<xsd:sequence>
<xsd:element name="CurrentValue" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="RequestedValue" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Restored" type="xsd:boolean"/>
</xsd:complexType>
| Constructor and Description |
|---|
UpdateResourcePropertiesRequestFailedFault()
Default constructor.
|
UpdateResourcePropertiesRequestFailedFault(EndpointReference originator,
ErrorCode errorCode,
FaultDescription[] descriptions,
IOSerializableSOAPElement faultCause,
IOSerializableSOAPElement[] extensibilityElements,
Attribute[] attributes)
Constructor for a new UpdateResourcePropertiesRequestFailedFault instance.
|
UpdateResourcePropertiesRequestFailedFault(EndpointReference originator,
ErrorCode errorCode,
FaultDescription[] descriptions,
IOSerializableSOAPElement faultCause,
IOSerializableSOAPElement[] extensibilityElements,
Attribute[] attributes,
ResourcePropertyChangeFailure rpcf)
Constructor for a new UpdateResourcePropertiesRequestFailedFault instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Get the message for this fault.
|
ResourcePropertyChangeFailure |
getResourcePropertyChangeFailure()
Gets the associated ResourcePropertyChangeFailure instance.
|
void |
setResourcePropertyChangeFailure(ResourcePropertyChangeFailure rpcf)
Sets the associated ResourcePropertyChangeFailure instance.
|
getAttributes, getDescriptions, getErrorCode, getExtensibilityElements, getFaultCause, getOriginator, getTimestamp, setAttributes, setDescriptions, setErrorCode, setExtensibilityElements, setFaultCause, setOriginator, setTimestamppublic UpdateResourcePropertiesRequestFailedFault()
public UpdateResourcePropertiesRequestFailedFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes)
originator - The WS-Addressing EndpointReference of the Web Service that
generated the fault.errorCode - The error code.descriptions - The set of descriptions.faultCause - The fault cause.extensibilityElements - The set of extensibility elements.attributes - The set of attributespublic UpdateResourcePropertiesRequestFailedFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes, ResourcePropertyChangeFailure rpcf)
originator - The WS-Addressing EndpointReference of the Web Service that
generated the fault.errorCode - The error code.descriptions - The set of descriptions.faultCause - The fault cause.extensibilityElements - The set of extensibility elements.attributes - The set of attributesrpcf - indicates the state of the resource property after the failed requestpublic ResourcePropertyChangeFailure getResourcePropertyChangeFailure()
public void setResourcePropertyChangeFailure(ResourcePropertyChangeFailure rpcf)
ResourcePropertyChangeFailure - instance that contains the
wsrf-rp:ResourcePropertyChangeFailureType values.public java.lang.String getMessage()
java.lang.Throwable to return the text of the first description
in the sequence of descriptions belonging to the fault.getMessage in class java.lang.ThrowableThrowable.getMessage()