public class WsSubjectLookup
extends java.lang.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(java.lang.String subjectId1,
java.lang.String subjectSource1,
java.lang.String subjectIdentifier1) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSubjectId()
id of the subject
|
java.lang.String |
getSubjectIdentifier()
any identifier of the subject
|
java.lang.String |
getSubjectSourceId()
optional: source of subject in the subject api source list
|
void |
setSubjectId(java.lang.String subjectId1)
id of the subject
|
void |
setSubjectIdentifier(java.lang.String subjectIdentifier1)
any identifier of the subject
|
void |
setSubjectSourceId(java.lang.String subjectSource1)
optional: source of subject in the subject api source list
|
void |
validate()
validate the subject lookup
|
public WsSubjectLookup(java.lang.String subjectId1, java.lang.String subjectSource1, java.lang.String subjectIdentifier1)
subjectId1
- subjectSource1
- subjectIdentifier1
- public WsSubjectLookup()
public java.lang.String getSubjectSourceId()
public void setSubjectSourceId(java.lang.String subjectSource1)
subjectSource1
- the subjectSource to setpublic java.lang.String getSubjectId()
public void setSubjectId(java.lang.String subjectId1)
subjectId1
- the subjectId to setpublic java.lang.String getSubjectIdentifier()
public void setSubjectIdentifier(java.lang.String subjectIdentifier1)
subjectIdentifier1
- the subjectIdentifier to setpublic void validate()