edu.internet2.middleware.grouper.webservices
Class WsAddMemberResult

java.lang.Object
  extended by edu.internet2.middleware.grouper.webservices.WsAddMemberResult

public class WsAddMemberResult
extends Object

Result of one subject being added to a group. The number of subjects will equal the number of subjects sent in to the method

Author:
mchyzer

Constructor Summary
WsAddMemberResult()
           
 
Method Summary
 String getResultCode()
           code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects
 String getResultMessage()
          friendly message that could be audited or sent to a UI
 String getSubjectId()
          subject that was added
 String getSubjectIdentifier()
          subject identifier (if this is what was passed in) that was added
 String getSuccess()
          T or F as to whether it was a successful assignment
 void setResultCode(String resultCode1)
           code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects
 void setResultMessage(String errorMessage)
          friendly message that could be audited or sent to a UI
 void setSubjectId(String subjectId1)
          subject that was added
 void setSubjectIdentifier(String subjectIdentifier1)
          subject identifier (if this is what was passed in) that was added
 void setSuccess(String success1)
          T or F as to whether it was a successful assignment
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsAddMemberResult

public WsAddMemberResult()
Method Detail

getSubjectId

public String getSubjectId()
subject that was added

Returns:
the subjectId

setSubjectId

public void setSubjectId(String subjectId1)
subject that was added

Parameters:
subjectId1 - the subjectId to set

getSubjectIdentifier

public String getSubjectIdentifier()
subject identifier (if this is what was passed in) that was added

Returns:
the subjectIdentifier

setSubjectIdentifier

public void setSubjectIdentifier(String subjectIdentifier1)
subject identifier (if this is what was passed in) that was added

Parameters:
subjectIdentifier1 - the subjectIdentifier to set

getSuccess

public String getSuccess()
T or F as to whether it was a successful assignment

Returns:
the success

setSuccess

public void setSuccess(String success1)
T or F as to whether it was a successful assignment

Parameters:
success1 - the success to set

getResultCode

public String getResultCode()
 code of the result for this subject
 SUCCESS: means everything ok
 SUBJECT_NOT_FOUND: cant find the subject
 SUBJECT_DUPLICATE: found multiple subjects
  
 

Returns:
the resultCode

setResultCode

public void setResultCode(String resultCode1)
 code of the result for this subject
 SUCCESS: means everything ok
 SUBJECT_NOT_FOUND: cant find the subject
 SUBJECT_DUPLICATE: found multiple subjects
  
 

Parameters:
resultCode1 - the resultCode to set

getResultMessage

public String getResultMessage()
friendly message that could be audited or sent to a UI

Returns:
the errorMessage

setResultMessage

public void setResultMessage(String errorMessage)
friendly message that could be audited or sent to a UI

Parameters:
errorMessage - the errorMessage to set