Class WsSubjectLookup
java.lang.Object
edu.internet2.middleware.grouperClient.ws.beans.WsSubjectLookup
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();
-
Constructor Summary
ConstructorDescriptionWsSubjectLookup
(String subjectId1, String subjectSource1, String subjectIdentifier1) -
Method Summary
Modifier and TypeMethodDescriptionid of the subjectany identifier of the subjectoptional: source of subject in the subject api source listvoid
setSubjectId
(String subjectId1) id of the subjectvoid
setSubjectIdentifier
(String subjectIdentifier1) any identifier of the subjectvoid
setSubjectSourceId
(String subjectSource1) optional: source of subject in the subject api source listvoid
validate()
validate the subject lookup
-
Constructor Details
-
WsSubjectLookup
- Parameters:
subjectId1
-subjectSource1
-subjectIdentifier1
-
-
WsSubjectLookup
public WsSubjectLookup()
-
-
Method Details
-
getSubjectSourceId
optional: source of subject in the subject api source list- Returns:
- the subjectSource
-
setSubjectSourceId
optional: source of subject in the subject api source list- Parameters:
subjectSource1
- the subjectSource to set
-
getSubjectId
id of the subject- Returns:
- the subjectId
-
setSubjectId
id of the subject- Parameters:
subjectId1
- the subjectId to set
-
getSubjectIdentifier
any identifier of the subject- Returns:
- the subjectIdentifier
-
setSubjectIdentifier
any identifier of the subject- Parameters:
subjectIdentifier1
- the subjectIdentifier to set
-
validate
public void validate()validate the subject lookup
-