com.ebmwebsourcing.wsstar.basefaults.datatypes.api.abstraction
Interface BaseFaultType


public interface BaseFaultType

Interface related to "BaseFaultType" WS-BaseFaults type Thought to be the most "user-friendly" as possible according to WS-BaseFaults specification (part of WS-Resource specifications set) content and especially its associated XML Schema

Author:
Thierry Déjean - EBM Websourcing

Nested Class Summary
static interface BaseFaultType.Description
          Interface related to "BaseFaultType.Description" WS-BaseFaults sub-type Thought to be the most "user-friendly" as possible according to WS-BaseFaults specification (part of WS-Resource specifications set) content and especially its associated XML Schema
static interface BaseFaultType.ErrorCode
          Interface related to "BaseFaultType.ErrorCode" WS-BaseFaults sub-type Thought to be the most "user-friendly" as possible according to WS-BaseFaults specification (part of WS-Resource specifications set) content and especially its associated XML Schema
static interface BaseFaultType.FaultCause
          Interface related to "BaseFaultType.FaultCause" WS-BaseFaults sub-type Thought to be the most "user-friendly" as possible according to WS-BaseFaults specification (part of WS-Resource specifications set) content and especially its associated XML Schema
 
Method Summary
 void addDescription(BaseFaultType.Description value)
          Add a description to the fault
 java.util.List<BaseFaultType.Description> getDescriptions()
          Get the list of descriptions of the fault
 BaseFaultType.ErrorCode getErrorCode()
          Get the error code of the fault
 BaseFaultType.FaultCause getFaultCause()
          Get the Fault cause of the fault
 com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType getOriginator()
          Get the "originator" - means endpoint that has reported the fault - of the fault
 java.util.Date getTimestamp()
          Get the timestamp - creation date - of the fault
 void setErrorCode(BaseFaultType.ErrorCode value)
          Set the error code of the fault
 void setFaultCause(BaseFaultType.FaultCause value)
          Set the Fault cause of the fault
 void setOriginator(com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType value)
          Set the "originator" - means endpoint that has reported the fault - of the fault
 void setTimestamp(java.util.Date value)
          Set the timestamp - creation date - of the fault
 

Method Detail

getDescriptions

java.util.List<BaseFaultType.Description> getDescriptions()
Get the list of descriptions of the fault

Returns:
list of BaseFaultType.Description object

addDescription

void addDescription(BaseFaultType.Description value)
Add a description to the fault

Parameters:
value - the description as BaseFaultType.Description object to add

getErrorCode

BaseFaultType.ErrorCode getErrorCode()
Get the error code of the fault

Returns:

setErrorCode

void setErrorCode(BaseFaultType.ErrorCode value)
Set the error code of the fault

Parameters:
value - the ErrorCode as a BaseFaultType.ErrorCode object

getFaultCause

BaseFaultType.FaultCause getFaultCause()
Get the Fault cause of the fault

Returns:
the ErrorCode as a BaseFaultType.ErrorCode object

setFaultCause

void setFaultCause(BaseFaultType.FaultCause value)
Set the Fault cause of the fault

Parameters:
value - the fault cause as BaseFaultType.FaultCause object

getOriginator

com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType getOriginator()
Get the "originator" - means endpoint that has reported the fault - of the fault

Returns:
the "originator endpoint as EndpointReferenceType object

setOriginator

void setOriginator(com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction.EndpointReferenceType value)
Set the "originator" - means endpoint that has reported the fault - of the fault

Parameters:
value - the originator EndpointReferenceType object

getTimestamp

java.util.Date getTimestamp()
Get the timestamp - creation date - of the fault

Returns:
the timestamp as a Date object

setTimestamp

void setTimestamp(java.util.Date value)
Set the timestamp - creation date - of the fault

Parameters:
value - the timestamp as a Date object


Copyright © 2010-2011 eBM Websourcing. All Rights Reserved.