edu.internet2.middleware.grouperClient.ws.beans
Class WsSubjectLookup

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.ws.beans.WsSubjectLookup

public class WsSubjectLookup
extends Object

 template to lookup a subject.
 
 to lookup a group as a subject, use the group uuid (e.g. fa2dd790-d3f9-4cf4-ac41-bb82e63bff66) in the 
 subject id of the subject lookup.  Optionally you can use g:gsa as
 the source id.
 
 developers make sure each setter calls this.clearSubject();
 
 

Author:
mchyzer

Constructor Summary
WsSubjectLookup()
           
WsSubjectLookup(String subjectId1, String subjectSource1, String subjectIdentifier1)
           
 
Method Summary
 String getSubjectId()
          id of the subject
 String getSubjectIdentifier()
          any identifier of the subject
 String getSubjectSourceId()
          optional: source of subject in the subject api source list
 void setSubjectId(String subjectId1)
          id of the subject
 void setSubjectIdentifier(String subjectIdentifier1)
          any identifier of the subject
 void setSubjectSourceId(String subjectSource1)
          optional: source of subject in the subject api source list
 void validate()
          validate the subject lookup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsSubjectLookup

public WsSubjectLookup(String subjectId1,
                       String subjectSource1,
                       String subjectIdentifier1)
Parameters:
subjectId1 -
subjectSource1 -
subjectIdentifier1 -

WsSubjectLookup

public WsSubjectLookup()
Method Detail

getSubjectSourceId

public String getSubjectSourceId()
optional: source of subject in the subject api source list

Returns:
the subjectSource

setSubjectSourceId

public void setSubjectSourceId(String subjectSource1)
optional: source of subject in the subject api source list

Parameters:
subjectSource1 - the subjectSource to set

getSubjectId

public String getSubjectId()
id of the subject

Returns:
the subjectId

setSubjectId

public void setSubjectId(String subjectId1)
id of the subject

Parameters:
subjectId1 - the subjectId to set

getSubjectIdentifier

public String getSubjectIdentifier()
any identifier of the subject

Returns:
the subjectIdentifier

setSubjectIdentifier

public void setSubjectIdentifier(String subjectIdentifier1)
any identifier of the subject

Parameters:
subjectIdentifier1 - the subjectIdentifier to set

validate

public void validate()
validate the subject lookup