Class SOAPFaultDetail
java.lang.Object
com.sun.identity.liberty.ws.soapbinding.SOAPFaultDetail
The
SOAPFaultDetail class represents the 'Detail' child element
of SOAP Fault element. Its children can be of any type. This class provides
specific methods to get and set the following children: Status element,
CorrelationHeader, ProviderHeader,
ConsentHeader, UsageDirectiveHeader and
ProcessingContextHeader. It also provides generic methods to
get and set other children.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSOAPFaultDetail(List otherChildren) This constructor takes a list of children except Status element,CorrelationHeader,ProviderHeaderConsentHeader,UsageDirectiveHeader,ProcessingContextHeaderandServiceInstanceUpdateHeader.SOAPFaultDetail(QName statusCode, String statusRef, String statusComment) This constructor takes a status code, a status ref and a status comment. -
Method Summary
Modifier and TypeMethodDescriptionReturns theConsentHeader.Returns theCorrelationHeader.Returns a list of children except Status element,CorrelationHeader,ProviderHeaderConsentHeader,UsageDirectiveHeader,ProcessingContextHeaderandServiceInstanceUpdateHeader.ReturnsServiceInstanceUpdateHeader.Returns value ofcodeattribute of Status element.Returns value ofcommentattribute of Status element.Returns value ofrefattribute of Status element.Returns a list ofUsageDirectiveHeader.voidsetConsentHeader(ConsentHeader consentHeader) SetsConsentHeader.voidsetCorrelationHeader(CorrelationHeader correlationHeader) Sets the value ofCorrelationHeader.voidsetOtherChild(Element child) Sets a child except Status element,CorrelationHeader,ProviderHeader,ConsentHeader,UsageDirectiveHeaderandProcessingContextHeaderandServiceInstanceUpdateHeader.voidsetOtherChildren(List otherChildren) Sets a list of children except Status element,CorrelationHeader,ProviderHeaderConsentHeader,UsageDirectiveHeader,ProcessingContextHeaderandServiceInstanceUpdateHeader.voidsetServiceInstanceUpdateHeader(ServiceInstanceUpdateHeader serviceInstanceUpdateHeader) SetsServiceInstanceUpdateHeader.voidsetStatusCode(QName statusCode) Sets value ofcodeattribute of Status element.voidsetStatusComment(String statusComment) Sets value ofcommentattribute of Status element.voidsetStatusRef(String statusRef) Sets value ofrefattribute of Status element.voidsetUsageDirectiveHeaders(List usageDirectiveHeaders) Sets a list ofUsageDirectiveHeader.
-
Field Details
-
BOGUS_ACTOR
-
BOGUS_MUST_UNSTND
-
STALE_MSG
-
DUPLICATE_MSG
-
INVALID_REF_TO_MSG_ID
-
PROVIDER_ID_NOT_VALID
-
AFFILIATION_ID_NOT_VALID
-
ID_STAR_MSG_NOT_UNSTD
-
PROC_CTX_URI_NOT_UNSTD
-
PROC_CTX_UNWILLING
-
CAN_NOT_HONOUR_USAGE_DIRECTIVE
-
ENDPOINT_MOVED
-
INAPPROPRIATE_CREDENTIALS
-
-
Constructor Details
-
SOAPFaultDetail
This constructor takes a status code, a status ref and a status comment. If the status code is not null, a Status child element will be created.- Parameters:
statusCode- the value ofcodeattribute of the Status element.statusRef- the value ofrefattribute of the Status element.statusComment- the value ofcommentattribute of the Status element.
-
SOAPFaultDetail
This constructor takes a list of children except Status element,CorrelationHeader,ProviderHeaderConsentHeader,UsageDirectiveHeader,ProcessingContextHeaderandServiceInstanceUpdateHeader. Each entry will be aorg.w3c.dom.Element.- Parameters:
otherChildren- a list of children element
-
-
Method Details
-
getCorrelationHeader
Returns theCorrelationHeader.- Returns:
- the
CorrelationHeader.
-
getConsentHeader
Returns theConsentHeader.- Returns:
- the
ConsentHeader.
-
getUsageDirectiveHeaders
Returns a list ofUsageDirectiveHeader.- Returns:
- a list of
UsageDirectiveHeader.
-
getServiceInstanceUpdateHeader
ReturnsServiceInstanceUpdateHeader.- Returns:
ServiceInstanceUpdateHeader.
-
getOtherChildren
Returns a list of children except Status element,CorrelationHeader,ProviderHeaderConsentHeader,UsageDirectiveHeader,ProcessingContextHeaderandServiceInstanceUpdateHeader. Each entry will be aorg.w3c.dom.Element.- Returns:
- a list of children element
-
getStatusCode
Returns value ofcodeattribute of Status element.- Returns:
- value of
codeattribute of Status element.
-
getStatusRef
Returns value ofrefattribute of Status element.- Returns:
- value of
refattribute of Status element.
-
getStatusComment
Returns value ofcommentattribute of Status element.- Returns:
- value of
commentattribute of Status element.
-
setCorrelationHeader
Sets the value ofCorrelationHeader.- Parameters:
correlationHeader- theCorrelationHeader.
-
setConsentHeader
SetsConsentHeader.- Parameters:
consentHeader-ConsentHeader.
-
setUsageDirectiveHeaders
Sets a list ofUsageDirectiveHeader.- Parameters:
usageDirectiveHeaders- a list ofUsageDirectiveHeader.
-
setServiceInstanceUpdateHeader
SetsServiceInstanceUpdateHeader.- Parameters:
serviceInstanceUpdateHeader-ServiceInstanceUpdateHeader
-
setOtherChildren
Sets a list of children except Status element,CorrelationHeader,ProviderHeaderConsentHeader,UsageDirectiveHeader,ProcessingContextHeaderandServiceInstanceUpdateHeader. Each entry will be aorg.w3c.dom.Element.- Parameters:
otherChildren- a list of children element
-
setOtherChild
Sets a child except Status element,CorrelationHeader,ProviderHeader,ConsentHeader,UsageDirectiveHeaderandProcessingContextHeaderandServiceInstanceUpdateHeader.- Parameters:
child- the child element.
-
setStatusCode
Sets value ofcodeattribute of Status element.- Parameters:
statusCode- value ofcodeattribute of Status element.
-
setStatusRef
Sets value ofrefattribute of Status element.- Parameters:
statusRef- value ofrefattribute of Status element.
-
setStatusComment
Sets value ofcommentattribute of Status element.- Parameters:
statusComment- value ofcommentattribute in Status element.
-