edu.internet2.middleware.grouper.subj
Class UnresolvableSubject

java.lang.Object
  extended by edu.internet2.middleware.subject.provider.SubjectImpl
      extended by 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

Constructor Summary
UnresolvableSubject(String subjectId, String subjectTypeId, String sourceId)
           
 
Method Summary
 Source getSource()
          Returns the Source of this Subject.
 SubjectType getType()
          Gets this Subject's type.
 void setSourceId(String sourceId1)
          sourceId
 
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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnresolvableSubject

public UnresolvableSubject(String subjectId,
                           String subjectTypeId,
                           String sourceId)
Parameters:
subjectId -
subjectTypeId -
sourceId -
Method Detail

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()