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
-
Constructor Summary
ConstructorDescriptionSOAPFaultDetail
(List otherChildren) This constructor takes a list of children except Status element,CorrelationHeader
,ProviderHeader
ConsentHeader
,UsageDirectiveHeader
,ProcessingContextHeader
andServiceInstanceUpdateHeader
.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
,ProviderHeader
ConsentHeader
,UsageDirectiveHeader
,ProcessingContextHeader
andServiceInstanceUpdateHeader
.ReturnsServiceInstanceUpdateHeader
.Returns value ofcode
attribute of Status element.Returns value ofcomment
attribute of Status element.Returns value ofref
attribute of Status element.Returns a list ofUsageDirectiveHeader
.void
setConsentHeader
(ConsentHeader consentHeader) SetsConsentHeader
.void
setCorrelationHeader
(CorrelationHeader correlationHeader) Sets the value ofCorrelationHeader
.void
setOtherChild
(Element child) Sets a child except Status element,CorrelationHeader
,ProviderHeader
,ConsentHeader
,UsageDirectiveHeader
andProcessingContextHeader
andServiceInstanceUpdateHeader
.void
setOtherChildren
(List otherChildren) Sets a list of children except Status element,CorrelationHeader
,ProviderHeader
ConsentHeader
,UsageDirectiveHeader
,ProcessingContextHeader
andServiceInstanceUpdateHeader
.void
setServiceInstanceUpdateHeader
(ServiceInstanceUpdateHeader serviceInstanceUpdateHeader) SetsServiceInstanceUpdateHeader
.void
setStatusCode
(QName statusCode) Sets value ofcode
attribute of Status element.void
setStatusComment
(String statusComment) Sets value ofcomment
attribute of Status element.void
setStatusRef
(String statusRef) Sets value ofref
attribute of Status element.void
setUsageDirectiveHeaders
(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 ofcode
attribute of the Status element.statusRef
- the value ofref
attribute of the Status element.statusComment
- the value ofcomment
attribute of the Status element.
-
SOAPFaultDetail
This constructor takes a list of children except Status element,CorrelationHeader
,ProviderHeader
ConsentHeader
,UsageDirectiveHeader
,ProcessingContextHeader
andServiceInstanceUpdateHeader
. 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
,ProviderHeader
ConsentHeader
,UsageDirectiveHeader
,ProcessingContextHeader
andServiceInstanceUpdateHeader
. Each entry will be aorg.w3c.dom.Element
.- Returns:
- a list of children element
-
getStatusCode
Returns value ofcode
attribute of Status element.- Returns:
- value of
code
attribute of Status element.
-
getStatusRef
Returns value ofref
attribute of Status element.- Returns:
- value of
ref
attribute of Status element.
-
getStatusComment
Returns value ofcomment
attribute of Status element.- Returns:
- value of
comment
attribute 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
,ProviderHeader
ConsentHeader
,UsageDirectiveHeader
,ProcessingContextHeader
andServiceInstanceUpdateHeader
. 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
,UsageDirectiveHeader
andProcessingContextHeader
andServiceInstanceUpdateHeader
.- Parameters:
child
- the child element.
-
setStatusCode
Sets value ofcode
attribute of Status element.- Parameters:
statusCode
- value ofcode
attribute of Status element.
-
setStatusRef
Sets value ofref
attribute of Status element.- Parameters:
statusRef
- value ofref
attribute of Status element.
-
setStatusComment
Sets value ofcomment
attribute of Status element.- Parameters:
statusComment
- value ofcomment
attribute in Status element.
-