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
ConstructorsConstructorDescriptionUnresolvableSubject(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 unresolvablevoidsetSourceId(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, internalAssignAttribute, 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:SubjectImplReturns the Source of this Subject.- Specified by:
getSourcein interfaceSubject- Overrides:
getSourcein classSubjectImpl- Returns:
- source
- See Also:
-
setSourceId
Description copied from class:SubjectImplsourceId- Overrides:
setSourceIdin classSubjectImpl- Parameters:
sourceId1- the sourceId to set- See Also:
-
getType
Description copied from class:SubjectImplGets this Subject's type.- Specified by:
getTypein interfaceSubject- Overrides:
getTypein classSubjectImpl- Returns:
- subject type
- See Also:
-