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

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

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

 results for the AttributeDefNames save call.
 
 result code:
 code of the result for this AttributeDefName overall
 SUCCESS: means everything ok
 ATTRIBUTE_DEF_NAME_NOT_FOUND: cant find the AttributeDefName
 ATTRIBUTE_DEF_NAME_DUPLICATE: found multiple AttributeDefNames
 

Author:
mchyzer

Nested Class Summary
static class WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode
          result code of a request
 
Constructor Summary
WsAttributeDefNameSaveLiteResult()
          empty
WsAttributeDefNameSaveLiteResult(WsAttributeDefNameSaveResults wsAttributeDefNameSaveResults)
          construct from results of other
 
Method Summary
 void assignResultCode(WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode groupSaveResultsCode, GrouperVersion clientVersion)
          assign the code from the enum
 void assignResultCodeException(WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode wsAttributeDefNameSaveResultsCodeOverride, 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
 WsAttributeDefName getWsAttributeDefName()
           
 WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode retrieveResultCode()
          convert the result code back to enum
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setWsAttributeDefName(WsAttributeDefName wsAttributeDefName1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsAttributeDefNameSaveLiteResult

public WsAttributeDefNameSaveLiteResult()
empty


WsAttributeDefNameSaveLiteResult

public WsAttributeDefNameSaveLiteResult(WsAttributeDefNameSaveResults wsAttributeDefNameSaveResults)
construct from results of other

Parameters:
wsAttributeDefNameSaveResults -
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

getWsAttributeDefName

public WsAttributeDefName getWsAttributeDefName()
Returns:
the wsAttributeDefName

setWsAttributeDefName

public void setWsAttributeDefName(WsAttributeDefName wsAttributeDefName1)
Parameters:
wsAttributeDefName1 - the wsAttributeDefName to set

assignResultCode

public void assignResultCode(WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode groupSaveResultsCode,
                             GrouperVersion clientVersion)
assign the code from the enum

Parameters:
groupSaveResultsCode -
clientVersion -

assignResultCodeException

public void assignResultCodeException(WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode wsAttributeDefNameSaveResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e,
                                      GrouperVersion clientVersion)
prcess an exception, log, etc

Parameters:
wsAttributeDefNameSaveResultsCodeOverride -
theError -
e -
clientVersion -

retrieveResultCode

public WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode retrieveResultCode()
convert the result code back to enum

Returns:
the enum code