Class UnresolvableSubject
java.lang.Object
edu.internet2.middleware.subject.provider.SubjectImpl
edu.internet2.middleware.grouper.subj.UnresolvableSubject
- All Implemented Interfaces:
Subject
,Serializable
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 $
- See Also:
-
Constructor Summary
ConstructorDescriptionUnresolvableSubject
(String subjectId, String subjectTypeId, String sourceId) UnresolvableSubject
(String subjectId, String subjectTypeId, String sourceId, String theUnresolvableString) -
Method Summary
Modifier and TypeMethodDescriptionReturns the Source of this Subject.getType()
Gets this Subject's type.string to label unresolvablevoid
setSourceId
(String sourceId1) sourceIdMethods inherited from class edu.internet2.middleware.subject.provider.SubjectImpl
attributesInittedClear, attributeValueOrCommaSeparated, attributeValueOrCommaSeparated, cloneSubject, equals, equalsStatic, getAttributes, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueOrCommaSeparated, getAttributeValueOrCommaSeparated, getAttributeValues, getAttributeValues, getAttributeValueSingleValued, getAttributeValueSingleValued, getDescription, getDescriptionOverride, getId, getName, getNameOverride, getSourceId, getTranslationMap, getTypeName, hashCode, hashcodeStatic, isResolvedFromSource, runScriptStatic, setAttributes, setDescription, setId, setName, setResolvedFromSource, setTranslationMap, setTypeName, toAttributeMap, toString, toStringStatic
-
Constructor Details
-
UnresolvableSubject
- Parameters:
subjectId
-subjectTypeId
-sourceId
-
-
UnresolvableSubject
public UnresolvableSubject(String subjectId, String subjectTypeId, String sourceId, String theUnresolvableString) - Parameters:
subjectId
-subjectTypeId
-sourceId
-theUnresolvableString
- string to be before the subject id
-
-
Method Details
-
getUnresolvableString
string to label unresolvable- Returns:
- the unresolvableString
-
getSource
Description copied from class:SubjectImpl
Returns the Source of this Subject.- Specified by:
getSource
in interfaceSubject
- Overrides:
getSource
in classSubjectImpl
- Returns:
- source
- See Also:
-
setSourceId
Description copied from class:SubjectImpl
sourceId- Overrides:
setSourceId
in classSubjectImpl
- Parameters:
sourceId1
- the sourceId to set- See Also:
-
getType
Description copied from class:SubjectImpl
Gets this Subject's type.- Specified by:
getType
in interfaceSubject
- Overrides:
getType
in classSubjectImpl
- Returns:
- subject type
- See Also:
-