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

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

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

 results for the AttributeDefs save call.
 
 result code:
 code of the result for this AttributeDef overall
 SUCCESS: means everything ok
 ATTRIBUTE_DEF_NOT_FOUND: cant find the AttributeDef
 ATTRIBUTE_DEF_DUPLICATE: found multiple AttributeDefs
 

Author:
mchyzer

Nested Class Summary
static class WsAttributeDefSaveLiteResult.WsAttributeDefSaveLiteResultCode
          result code of a request
 
Constructor Summary
WsAttributeDefSaveLiteResult()
          empty
WsAttributeDefSaveLiteResult(WsAttributeDefSaveResults wsAttributeDefSaveResults)
          construct from results of other
 
Method Summary
 void assignResultCode(WsAttributeDefSaveLiteResult.WsAttributeDefSaveLiteResultCode attributeDefSaveLiteResultCode, GrouperVersion clientVersion)
          assign the code from the enum
 void assignResultCodeException(WsAttributeDefSaveLiteResult.WsAttributeDefSaveLiteResultCode wsAttributeDefSaveResultsCodeOverride, 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
 WsAttributeDef getWsAttributeDef()
           
 WsAttributeDefSaveLiteResult.WsAttributeDefSaveLiteResultCode retrieveResultCode()
          convert the result code back to enum
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setWsAttributeDef(WsAttributeDef wsAttributeDef1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsAttributeDefSaveLiteResult

public WsAttributeDefSaveLiteResult()
empty


WsAttributeDefSaveLiteResult

public WsAttributeDefSaveLiteResult(WsAttributeDefSaveResults wsAttributeDefSaveResults)
construct from results of other

Parameters:
wsAttributeDefSaveResults -
Method Detail

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

getWsAttributeDef

public WsAttributeDef getWsAttributeDef()
Returns:
the wsAttributeDef

setWsAttributeDef

public void setWsAttributeDef(WsAttributeDef wsAttributeDef1)
Parameters:
wsAttributeDef1 - the wsAttributeDef to set

assignResultCode

public void assignResultCode(WsAttributeDefSaveLiteResult.WsAttributeDefSaveLiteResultCode attributeDefSaveLiteResultCode,
                             GrouperVersion clientVersion)
assign the code from the enum

Parameters:
attributeDefSaveLiteResultCode -
clientVersion -

assignResultCodeException

public void assignResultCodeException(WsAttributeDefSaveLiteResult.WsAttributeDefSaveLiteResultCode wsAttributeDefSaveResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e,
                                      GrouperVersion clientVersion)
prcess an exception, log, etc

Parameters:
wsAttributeDefSaveResultsCodeOverride -
theError -
e -
clientVersion -

retrieveResultCode

public WsAttributeDefSaveLiteResult.WsAttributeDefSaveLiteResultCode retrieveResultCode()
convert the result code back to enum

Returns:
the enum code