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();
Constructor and Description |
---|
WsSubjectLookup() |
WsSubjectLookup(String subjectId1,
String subjectSource1,
String subjectIdentifier1) |
Modifier and Type | Method and Description |
---|---|
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
|
public WsSubjectLookup(String subjectId1, String subjectSource1, String subjectIdentifier1)
subjectId1
- subjectSource1
- subjectIdentifier1
- public WsSubjectLookup()
public String getSubjectSourceId()
public void setSubjectSourceId(String subjectSource1)
subjectSource1
- the subjectSource to setpublic String getSubjectId()
public void setSubjectId(String subjectId1)
subjectId1
- the subjectId to setpublic String getSubjectIdentifier()
public void setSubjectIdentifier(String subjectIdentifier1)
subjectIdentifier1
- the subjectIdentifier to setpublic void validate()
Copyright © 2016 Internet2. All rights reserved.