edu.internet2.middleware.grouper.subj
Class UnresolvableSubject
java.lang.Object
edu.internet2.middleware.subject.provider.SubjectImpl
edu.internet2.middleware.grouper.subj.UnresolvableSubject
- All Implemented Interfaces:
- Subject, Serializable
public class UnresolvableSubject
- extends SubjectImpl
Subject
from id, type and source. Used when an actual subject could not be resolved.
Allows the UI to continue working when, otherwise, a SubjectNotFoundException would cause an error.
- Version:
- $Id: UnresolvableSubject.java,v 1.6 2009-10-31 16:27:12 mchyzer Exp $
- Author:
- Gary Brown.
- See Also:
- Serialized Form
Methods inherited from class edu.internet2.middleware.subject.provider.SubjectImpl |
attributeValueOrCommaSeparated, equals, equalsStatic, getAttributes, getAttributeValue, getAttributeValueOrCommaSeparated, getAttributeValues, getAttributeValueSingleValued, getDescription, getId, getName, getSourceId, getTypeName, hashCode, hashcodeStatic, initVirtualAttributes, setAttributes, setDescription, setId, setName, setTypeName, toAttributeMap, toString, toStringStatic, virtualAttributesForSource, virtualAttributeVariablesForSource |
UnresolvableSubject
public UnresolvableSubject(String subjectId,
String subjectTypeId,
String sourceId)
- Parameters:
subjectId
- subjectTypeId
- sourceId
-
getSource
public Source getSource()
- Description copied from class:
SubjectImpl
- Returns the Source of this Subject.
- Specified by:
getSource
in interface Subject
- Overrides:
getSource
in class SubjectImpl
- Returns:
- source
- See Also:
Subject.getSource()
setSourceId
public void setSourceId(String sourceId1)
- Description copied from class:
SubjectImpl
- sourceId
- Overrides:
setSourceId
in class SubjectImpl
- Parameters:
sourceId1
- the sourceId to set- See Also:
SubjectImpl.setSourceId(java.lang.String)
getType
public SubjectType getType()
- Description copied from class:
SubjectImpl
- Gets this Subject's type.
- Specified by:
getType
in interface Subject
- Overrides:
getType
in class SubjectImpl
- Returns:
- subject type
- See Also:
Subject.getType()