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

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

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

 results for the get members call.
 
 result code:
 code of the result for this group overall
 SUCCESS: means everything ok
 GROUP_NOT_FOUND: cant find the group
 INVALID_QUERY: bad inputs
 EXCEPTION: something bad happened
 

Author:
mchyzer

Nested Class Summary
static class WsGetMembersResults.WsGetMembersResultsCode
          result code of a request.
 
Constructor Summary
WsGetMembersResults()
           
 
Method Summary
 void assignResultCode(WsGetMembersResults.WsGetMembersResultsCode getMembersResultCode)
          assign the code from the enum
 void assignResultCodeException(WsGetMembersResults.WsGetMembersResultsCode wsGetMembersResultsCodeOverride, 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
 WsGetMembersResult[] getResults()
          results for each assignment sent in
 java.lang.String[] getSubjectAttributeNames()
          attributes of subjects returned, in same order as the data
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setResults(WsGetMembersResult[] results1)
          results for each assignment sent in
 void setSubjectAttributeNames(java.lang.String[] attributeNamesa)
          attributes of subjects returned, in same order as the data
 void tallyResults(java.lang.String theSummary)
          make sure if there is an error, to record that as an error
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsGetMembersResults

public WsGetMembersResults()
Method Detail

assignResultCode

public void assignResultCode(WsGetMembersResults.WsGetMembersResultsCode getMembersResultCode)
assign the code from the enum

Parameters:
getMembersResultCode -

assignResultCodeException

public void assignResultCodeException(WsGetMembersResults.WsGetMembersResultsCode wsGetMembersResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e)
prcess an exception, log, etc

Parameters:
wsGetMembersResultsCodeOverride -
theError -
e -

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

tallyResults

public void tallyResults(java.lang.String theSummary)
make sure if there is an error, to record that as an error

Parameters:
theSummary -

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

setResultMetadata

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

setResponseMetadata

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

getResults

public WsGetMembersResult[] getResults()
results for each assignment sent in

Returns:
the results

setResults

public void setResults(WsGetMembersResult[] results1)
results for each assignment sent in

Parameters:
results1 - the results to set