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

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

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

 results for the stems save call.
 
 result code:
 code of the result for this stem overall
 SUCCESS: means everything ok
 STEM_NOT_FOUND: cant find the stem
 STEM_DUPLICATE: found multiple stems
 

Author:
mchyzer

Nested Class Summary
static class WsStemSaveLiteResult.WsStemSaveLiteResultCode
          result code of a request
 
Constructor Summary
WsStemSaveLiteResult()
          empty
WsStemSaveLiteResult(WsStemSaveResults wsStemSaveResults)
          construct from results of other
 
Method Summary
 void assignResultCode(WsStemSaveLiteResult.WsStemSaveLiteResultCode stemSaveResultsCode, GrouperVersion clientVersion)
          assign the code from the enum
 void assignResultCodeException(WsStemSaveLiteResult.WsStemSaveLiteResultCode wsStemSaveResultsCodeOverride, java.lang.String theError, java.lang.Exception e, GrouperVersion clientVersion)
          prcess an exception, log, etc
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 WsStem getWsStem()
           
 WsStemSaveLiteResult.WsStemSaveLiteResultCode retrieveResultCode()
          convert the result code back to enum
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setWsStem(WsStem wsStem1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsStemSaveLiteResult

public WsStemSaveLiteResult()
empty


WsStemSaveLiteResult

public WsStemSaveLiteResult(WsStemSaveResults wsStemSaveResults)
construct from results of other

Parameters:
wsStemSaveResults -
Method Detail

assignResultCode

public void assignResultCode(WsStemSaveLiteResult.WsStemSaveLiteResultCode stemSaveResultsCode,
                             GrouperVersion clientVersion)
assign the code from the enum

Parameters:
stemSaveResultsCode -
clientVersion -

retrieveResultCode

public WsStemSaveLiteResult.WsStemSaveLiteResultCode retrieveResultCode()
convert the result code back to enum

Returns:
the enum code

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

assignResultCodeException

public void assignResultCodeException(WsStemSaveLiteResult.WsStemSaveLiteResultCode wsStemSaveResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e,
                                      GrouperVersion clientVersion)
prcess an exception, log, etc

Parameters:
wsStemSaveResultsCodeOverride -
theError -
e -
clientVersion -

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

getWsStem

public WsStem getWsStem()
Returns:
the wsStem

setWsStem

public void setWsStem(WsStem wsStem1)
Parameters:
wsStem1 - the wsStem to set