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

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

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

 results for the get groups call.
 
 result code:
 code of the result for this group overall
 SUCCESS: means everything ok
 EXCEPTION: something bad happened
 etc.
 

Author:
mchyzer

Nested Class Summary
static class WsGetGroupsLiteResult.WsGetGroupsLiteResultCode
          result code of a request
 
Constructor Summary
WsGetGroupsLiteResult()
          empty
WsGetGroupsLiteResult(WsGetGroupsResults wsGetGroupsResults)
          construct from results of other
 
Method Summary
 void assignResultCode(WsGetGroupsLiteResult.WsGetGroupsLiteResultCode getGroupsResultsCode)
          assign the code from the enum
 void assignResultCodeException(WsGetGroupsLiteResult.WsGetGroupsLiteResultCode WsGetGroupsLiteResultCodeOverride, java.lang.String theError, java.lang.Exception e)
          prcess an exception, log, etc
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 java.lang.String[] getSubjectAttributeNames()
          attributes of subjects returned, in same order as the data
 WsGroup[] getWsGroups()
          results for each assignment sent in
 WsSubject getWsSubject()
          subject that was added
 WsGetGroupsLiteResult.WsGetGroupsLiteResultCode retrieveResultCode()
          convert the result code back to enum
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setSubjectAttributeNames(java.lang.String[] attributeNamesa)
          attributes of subjects returned, in same order as the data
 void setWsGroups(WsGroup[] results1)
          results for each assignment sent in
 void setWsSubject(WsSubject wsSubject1)
          subject that was added
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsGetGroupsLiteResult

public WsGetGroupsLiteResult()
empty


WsGetGroupsLiteResult

public WsGetGroupsLiteResult(WsGetGroupsResults wsGetGroupsResults)
construct from results of other

Parameters:
wsGetGroupsResults -
Method Detail

assignResultCode

public void assignResultCode(WsGetGroupsLiteResult.WsGetGroupsLiteResultCode getGroupsResultsCode)
assign the code from the enum

Parameters:
getGroupsResultsCode -

retrieveResultCode

public WsGetGroupsLiteResult.WsGetGroupsLiteResultCode retrieveResultCode()
convert the result code back to enum

Returns:
the enum code

assignResultCodeException

public void assignResultCodeException(WsGetGroupsLiteResult.WsGetGroupsLiteResultCode WsGetGroupsLiteResultCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e)
prcess an exception, log, etc

Parameters:
WsGetGroupsLiteResultCodeOverride -
theError -
e -

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

getSubjectAttributeNames

public java.lang.String[] getSubjectAttributeNames()
attributes of subjects returned, in same order as the data

Returns:
the attributeNames

setSubjectAttributeNames

public void setSubjectAttributeNames(java.lang.String[] attributeNamesa)
attributes of subjects returned, in same order as the data

Parameters:
attributeNamesa - the attributeNames to set

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()

setResultMetadata

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

setResponseMetadata

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

getWsGroups

public WsGroup[] getWsGroups()
results for each assignment sent in

Returns:
the results

getWsSubject

public WsSubject getWsSubject()
subject that was added

Returns:
the subjectId

setWsGroups

public void setWsGroups(WsGroup[] results1)
results for each assignment sent in

Parameters:
results1 - the results to set

setWsSubject

public void setWsSubject(WsSubject wsSubject1)
subject that was added

Parameters:
wsSubject1 - the wsSubject1 to set