Class SOAPFaultDetail
- java.lang.Object
-
- com.sun.identity.liberty.ws.soapbinding.SOAPFaultDetail
-
@SupportedAll public class SOAPFaultDetail extends Object
TheSOAPFaultDetail
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
andProcessingContextHeader
. It also provides generic methods to get and set other children.
-
-
Field Summary
Fields Modifier and Type Field Description static QName
AFFILIATION_ID_NOT_VALID
static QName
BOGUS_ACTOR
static QName
BOGUS_MUST_UNSTND
static QName
CAN_NOT_HONOUR_USAGE_DIRECTIVE
static QName
DUPLICATE_MSG
static QName
ENDPOINT_MOVED
static QName
ID_STAR_MSG_NOT_UNSTD
static QName
INAPPROPRIATE_CREDENTIALS
static QName
INVALID_REF_TO_MSG_ID
static QName
PROC_CTX_UNWILLING
static QName
PROC_CTX_URI_NOT_UNSTD
static QName
PROVIDER_ID_NOT_VALID
static QName
STALE_MSG
-
Constructor Summary
Constructors Constructor Description SOAPFaultDetail(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsentHeader
getConsentHeader()
Returns theConsentHeader
.CorrelationHeader
getCorrelationHeader()
Returns theCorrelationHeader
.List
getOtherChildren()
Returns a list of children except Status element,CorrelationHeader
,ProviderHeader
ConsentHeader
,UsageDirectiveHeader
,ProcessingContextHeader
andServiceInstanceUpdateHeader
.ServiceInstanceUpdateHeader
getServiceInstanceUpdateHeader()
ReturnsServiceInstanceUpdateHeader
.QName
getStatusCode()
Returns value ofcode
attribute of Status element.String
getStatusComment()
Returns value ofcomment
attribute of Status element.String
getStatusRef()
Returns value ofref
attribute of Status element.List
getUsageDirectiveHeaders()
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 Detail
-
BOGUS_ACTOR
public static final QName BOGUS_ACTOR
-
BOGUS_MUST_UNSTND
public static final QName BOGUS_MUST_UNSTND
-
STALE_MSG
public static final QName STALE_MSG
-
DUPLICATE_MSG
public static final QName DUPLICATE_MSG
-
INVALID_REF_TO_MSG_ID
public static final QName INVALID_REF_TO_MSG_ID
-
PROVIDER_ID_NOT_VALID
public static final QName PROVIDER_ID_NOT_VALID
-
AFFILIATION_ID_NOT_VALID
public static final QName AFFILIATION_ID_NOT_VALID
-
ID_STAR_MSG_NOT_UNSTD
public static final QName ID_STAR_MSG_NOT_UNSTD
-
PROC_CTX_URI_NOT_UNSTD
public static final QName PROC_CTX_URI_NOT_UNSTD
-
PROC_CTX_UNWILLING
public static final QName PROC_CTX_UNWILLING
-
CAN_NOT_HONOUR_USAGE_DIRECTIVE
public static final QName CAN_NOT_HONOUR_USAGE_DIRECTIVE
-
ENDPOINT_MOVED
public static final QName ENDPOINT_MOVED
-
INAPPROPRIATE_CREDENTIALS
public static final QName INAPPROPRIATE_CREDENTIALS
-
-
Constructor Detail
-
SOAPFaultDetail
public SOAPFaultDetail(QName statusCode, String statusRef, String statusComment)
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
public SOAPFaultDetail(List otherChildren)
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 Detail
-
getCorrelationHeader
public CorrelationHeader getCorrelationHeader()
Returns theCorrelationHeader
.- Returns:
- the
CorrelationHeader
.
-
getConsentHeader
public ConsentHeader getConsentHeader()
Returns theConsentHeader
.- Returns:
- the
ConsentHeader
.
-
getUsageDirectiveHeaders
public List getUsageDirectiveHeaders()
Returns a list ofUsageDirectiveHeader
.- Returns:
- a list of
UsageDirectiveHeader
.
-
getServiceInstanceUpdateHeader
public ServiceInstanceUpdateHeader getServiceInstanceUpdateHeader()
ReturnsServiceInstanceUpdateHeader
.- Returns:
ServiceInstanceUpdateHeader
.
-
getOtherChildren
public List 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
public QName getStatusCode()
Returns value ofcode
attribute of Status element.- Returns:
- value of
code
attribute of Status element.
-
getStatusRef
public String getStatusRef()
Returns value ofref
attribute of Status element.- Returns:
- value of
ref
attribute of Status element.
-
getStatusComment
public String getStatusComment()
Returns value ofcomment
attribute of Status element.- Returns:
- value of
comment
attribute of Status element.
-
setCorrelationHeader
public void setCorrelationHeader(CorrelationHeader correlationHeader)
Sets the value ofCorrelationHeader
.- Parameters:
correlationHeader
- theCorrelationHeader
.
-
setConsentHeader
public void setConsentHeader(ConsentHeader consentHeader)
SetsConsentHeader
.- Parameters:
consentHeader
-ConsentHeader
.
-
setUsageDirectiveHeaders
public void setUsageDirectiveHeaders(List usageDirectiveHeaders)
Sets a list ofUsageDirectiveHeader
.- Parameters:
usageDirectiveHeaders
- a list ofUsageDirectiveHeader
.
-
setServiceInstanceUpdateHeader
public void setServiceInstanceUpdateHeader(ServiceInstanceUpdateHeader serviceInstanceUpdateHeader)
SetsServiceInstanceUpdateHeader
.- Parameters:
serviceInstanceUpdateHeader
-ServiceInstanceUpdateHeader
-
setOtherChildren
public void setOtherChildren(List otherChildren)
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
public void setOtherChild(Element child)
Sets a child except Status element,CorrelationHeader
,ProviderHeader
,ConsentHeader
,UsageDirectiveHeader
andProcessingContextHeader
andServiceInstanceUpdateHeader
.- Parameters:
child
- the child element.
-
setStatusCode
public void setStatusCode(QName statusCode)
Sets value ofcode
attribute of Status element.- Parameters:
statusCode
- value ofcode
attribute of Status element.
-
setStatusRef
public void setStatusRef(String statusRef)
Sets value ofref
attribute of Status element.- Parameters:
statusRef
- value ofref
attribute of Status element.
-
setStatusComment
public void setStatusComment(String statusComment)
Sets value ofcomment
attribute of Status element.- Parameters:
statusComment
- value ofcomment
attribute in Status element.
-
-