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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionSOAPFaultDetail(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 SummaryModifier 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- 
SOAPFaultDetailThis 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 of- codeattribute of the Status element.
- statusRef- the value of- refattribute of the Status element.
- statusComment- the value of- commentattribute of the Status element.
 
- 
SOAPFaultDetailThis 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- 
getCorrelationHeaderReturns theCorrelationHeader.- Returns:
- the CorrelationHeader.
 
- 
getConsentHeaderReturns theConsentHeader.- Returns:
- the ConsentHeader.
 
- 
getUsageDirectiveHeadersReturns a list ofUsageDirectiveHeader.- Returns:
- a list of UsageDirectiveHeader.
 
- 
getServiceInstanceUpdateHeaderReturnsServiceInstanceUpdateHeader.- Returns:
- ServiceInstanceUpdateHeader.
 
- 
getOtherChildrenReturns 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
 
- 
getStatusCodeReturns value ofcodeattribute of Status element.- Returns:
- value of codeattribute of Status element.
 
- 
getStatusRefReturns value ofrefattribute of Status element.- Returns:
- value of refattribute of Status element.
 
- 
getStatusCommentReturns value ofcommentattribute of Status element.- Returns:
- value of commentattribute of Status element.
 
- 
setCorrelationHeaderSets the value ofCorrelationHeader.- Parameters:
- correlationHeader- the- CorrelationHeader.
 
- 
setConsentHeaderSetsConsentHeader.- Parameters:
- consentHeader-- ConsentHeader.
 
- 
setUsageDirectiveHeadersSets a list ofUsageDirectiveHeader.- Parameters:
- usageDirectiveHeaders- a list of- UsageDirectiveHeader.
 
- 
setServiceInstanceUpdateHeaderSetsServiceInstanceUpdateHeader.- Parameters:
- serviceInstanceUpdateHeader-- ServiceInstanceUpdateHeader
 
- 
setOtherChildrenSets 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
 
- 
setOtherChildSets a child except Status element,CorrelationHeader,ProviderHeader,ConsentHeader,UsageDirectiveHeaderandProcessingContextHeaderandServiceInstanceUpdateHeader.- Parameters:
- child- the child element.
 
- 
setStatusCodeSets value ofcodeattribute of Status element.- Parameters:
- statusCode- value of- codeattribute of Status element.
 
- 
setStatusRefSets value ofrefattribute of Status element.- Parameters:
- statusRef- value of- refattribute of Status element.
 
- 
setStatusCommentSets value ofcommentattribute of Status element.- Parameters:
- statusComment- value of- commentattribute in Status element.
 
 
-