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

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

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

returned from the external subject find query

Author:
mchyzer

Nested Class Summary
static class WsFindExternalSubjectsResults.WsFindExternalSubjectsResultsCode
          result code of a request
 
Constructor Summary
WsFindExternalSubjectsResults()
           
 
Method Summary
 void assignExternalSubjectResult(ExternalSubject externalSubject)
          put a external subject in the results
 void assignExternalSubjectResult(java.util.Set<ExternalSubject> externalSubjectSet)
          put a external subjects in the results
 void assignResultCode(WsFindExternalSubjectsResults.WsFindExternalSubjectsResultsCode wsFindExternalSubjectsResultsCode)
          assign the code from the enum
 void assignResultCodeException(WsFindExternalSubjectsResults.WsFindExternalSubjectsResultsCode wsFindExternalSubjectsResultsCodeOverride, java.lang.String theError, java.lang.Exception e)
          prcess an exception, log, etc
 WsExternalSubject[] getExternalSubjectResults()
          has 0 to many externalSubjects that match the query by example
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 void setExternalSubjectResults(WsExternalSubject[] externalSubjectResults1)
          basic results to the query
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsFindExternalSubjectsResults

public WsFindExternalSubjectsResults()
Method Detail

assignResultCode

public void assignResultCode(WsFindExternalSubjectsResults.WsFindExternalSubjectsResultsCode wsFindExternalSubjectsResultsCode)
assign the code from the enum

Parameters:
wsFindExternalSubjectsResultsCode -

assignExternalSubjectResult

public void assignExternalSubjectResult(ExternalSubject externalSubject)
put a external subject in the results

Parameters:
externalSubject -

assignExternalSubjectResult

public void assignExternalSubjectResult(java.util.Set<ExternalSubject> externalSubjectSet)
put a external subjects in the results

Parameters:
externalSubjectSet -

getExternalSubjectResults

public WsExternalSubject[] getExternalSubjectResults()
has 0 to many externalSubjects that match the query by example

Returns:
the externalSubjectResults

setExternalSubjectResults

public void setExternalSubjectResults(WsExternalSubject[] externalSubjectResults1)
basic results to the query

Parameters:
externalSubjectResults1 - the groupResults to set

assignResultCodeException

public void assignResultCodeException(WsFindExternalSubjectsResults.WsFindExternalSubjectsResultsCode wsFindExternalSubjectsResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e)
prcess an exception, log, etc

Parameters:
wsFindExternalSubjectsResultsCodeOverride -
wsAddMemberResultsCodeOverride -
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

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