edu.internet2.middleware.grouper.ws.coresoap
Class WsMessageResults

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.coresoap.WsMessageResults
All Implemented Interfaces:
WsResponseBean, ResultMetadataHolder

public class WsMessageResults
extends java.lang.Object
implements WsResponseBean, ResultMetadataHolder

returned from the send/receive message web service

Author:
vsachdeva

Nested Class Summary
static class WsMessageResults.WsMessageResultsCode
          result code of a request
 
Constructor Summary
WsMessageResults()
           
 
Method Summary
 void assignMessage(GrouperMessage message)
          put message in the results
 void assignMessages(java.util.Set<GrouperMessage> messageSet)
          put message in the results
 void assignResultCode(WsMessageResults.WsMessageResultsCode wsMessageResultsCode)
          assign the code from the enum
 void assignResultCodeException(WsMessageResults.WsMessageResultsCode wsMessageResultsCodeOverride, java.lang.String theError, java.lang.Exception e)
          prcess an exception, log, etc
 WsMessage[] getMessages()
           
 java.lang.String getMessageSystemName()
           
 java.lang.String getQueueOrTopicName()
           
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 void setMessages(WsMessage[] messages1)
           
 void setMessageSystemName(java.lang.String messageSystemName1)
           
 void setQueueOrTopicName(java.lang.String queueOrTopicName1)
           
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsMessageResults

public WsMessageResults()
Method Detail

getMessages

public WsMessage[] getMessages()
Returns:
the messages which were sent or received

setMessages

public void setMessages(WsMessage[] messages1)
Parameters:
messages1 - the messages which were sent or received

getQueueOrTopicName

public java.lang.String getQueueOrTopicName()
Returns:
queueOrTopicName - queue or topic to send to

setQueueOrTopicName

public void setQueueOrTopicName(java.lang.String queueOrTopicName1)
Parameters:
queueOrTopicName1 - - queue or topic to send to

getMessageSystemName

public java.lang.String getMessageSystemName()
Returns:
messageSystemName - if there are multiple messaging systems, specify which one

setMessageSystemName

public void setMessageSystemName(java.lang.String messageSystemName1)
Parameters:
messageSystemName1 - - if there are multiple messaging systems, specify which one

getResultMetadata

public WsResultMeta getResultMetadata()
Description copied from interface: WsResponseBean
get the result metadata

Specified by:
getResultMetadata in interface WsResponseBean
Specified by:
getResultMetadata in interface ResultMetadataHolder
Returns:
the resultMetadata

getResponseMetadata

public WsResponseMeta getResponseMetadata()
Description copied from interface: WsResponseBean
get the response metadata

Specified by:
getResponseMetadata in interface WsResponseBean
Returns:
the response metadata
See Also:
WsResponseBean.getResponseMetadata()

setResponseMetadata

public void setResponseMetadata(WsResponseMeta responseMetadata1)
Parameters:
responseMetadata1 - the responseMetadata to set

setResultMetadata

public void setResultMetadata(WsResultMeta resultMetadata1)
Parameters:
resultMetadata1 - the resultMetadata to set

assignMessage

public void assignMessage(GrouperMessage message)
put message in the results

Parameters:
message -

assignMessages

public void assignMessages(java.util.Set<GrouperMessage> messageSet)
put message in the results

Parameters:
messageSet -

assignResultCode

public void assignResultCode(WsMessageResults.WsMessageResultsCode wsMessageResultsCode)
assign the code from the enum

Parameters:
wsMessageResultsCode -

assignResultCodeException

public void assignResultCodeException(WsMessageResults.WsMessageResultsCode wsMessageResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e)
prcess an exception, log, etc

Parameters:
wsMessageResultsCodeOverride -
theError -
e -