Class GrouperSubject
java.lang.Object
edu.internet2.middleware.subject.provider.SubjectImpl
edu.internet2.middleware.grouper.subj.GrouperSubject
- All Implemented Interfaces:
Subject
,Serializable
Subject
returned by the GrouperSourceAdapter
.
- Version:
- $Id: GrouperSubject.java,v 1.12 2009-10-22 14:03:18 mchyzer Exp $
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeValue
(String name) Returns the value of a single-valued attribute.Gets this Subject's description.get the group insideboolean
if loaded group attributesboolean
if loaded group attributesMethods inherited from class edu.internet2.middleware.subject.provider.SubjectImpl
attributesInittedClear, attributeValueOrCommaSeparated, attributeValueOrCommaSeparated, cloneSubject, equals, equalsStatic, getAttributes, getAttributes, getAttributeValue, getAttributeValueOrCommaSeparated, getAttributeValueOrCommaSeparated, getAttributeValues, getAttributeValues, getAttributeValueSingleValued, getAttributeValueSingleValued, getDescriptionOverride, getId, getName, getNameOverride, getSource, getSourceId, getTranslationMap, getType, getTypeName, hashCode, hashcodeStatic, isResolvedFromSource, runScriptStatic, setAttributes, setDescription, setId, setName, setResolvedFromSource, setSourceId, setTranslationMap, setTypeName, toAttributeMap, toString, toStringStatic
-
Constructor Details
-
GrouperSubject
- Parameters:
g
-- Throws:
SourceUnavailableException
-
-
Method Details
-
isLoadedGroupAttributes
public boolean isLoadedGroupAttributes()if loaded group attributes- Returns:
- true/false
-
isLoadedModifyCreateSubjects
public boolean isLoadedModifyCreateSubjects()if loaded group attributes- Returns:
- true/false
-
getAttributeValue
Description copied from interface:Subject
Returns the value of a single-valued attribute. If multivalued, this returns the first value. This does not return values for internal attributes. Note, the keys are case-insensitive- Specified by:
getAttributeValue
in interfaceSubject
- Overrides:
getAttributeValue
in classSubjectImpl
- Returns:
- value or null if not found
- See Also:
-
getDescription
Description copied from class:SubjectImpl
Gets this Subject's description.- Specified by:
getDescription
in interfaceSubject
- Overrides:
getDescription
in classSubjectImpl
- Returns:
- description or null if not there
- See Also:
-
internal_getGroup
get the group inside- Returns:
- the group
-