edu.internet2.middleware.grouper.subj
Class GrouperSubject

java.lang.Object
  extended by edu.internet2.middleware.subject.provider.SubjectImpl
      extended by edu.internet2.middleware.grouper.subj.GrouperSubject
All Implemented Interfaces:
Subject, Serializable

public class GrouperSubject
extends SubjectImpl

Subject returned by the GrouperSourceAdapter.

Version:
$Id: GrouperSubject.java,v 1.12 2009-10-22 14:03:18 mchyzer Exp $
Author:
blair christensen.
See Also:
Serialized Form

Constructor Summary
GrouperSubject(Group g)
           
 
Method Summary
 String getAttributeValue(String name)
          Returns the value of a single-valued attribute.
 String getDescription()
          Gets this Subject's description.
 boolean isLoadedGroupAttributes()
          if loaded group attributes
 boolean isLoadedModifyCreateSubjects()
          if loaded group attributes
 
Methods inherited from class edu.internet2.middleware.subject.provider.SubjectImpl
attributeValueOrCommaSeparated, equals, equalsStatic, getAttributes, getAttributeValueOrCommaSeparated, getAttributeValues, getAttributeValueSingleValued, getId, getName, getSource, getSourceId, getType, getTypeName, hashCode, hashcodeStatic, initVirtualAttributes, setAttributes, setDescription, setId, setName, setSourceId, setTypeName, toAttributeMap, toString, toStringStatic, virtualAttributesForSource, virtualAttributeVariablesForSource
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GrouperSubject

public GrouperSubject(Group g)
               throws SourceUnavailableException
Parameters:
g -
Throws:
SourceUnavailableException
Method Detail

isLoadedGroupAttributes

public boolean isLoadedGroupAttributes()
if loaded group attributes

Returns:
true/false

isLoadedModifyCreateSubjects

public boolean isLoadedModifyCreateSubjects()
if loaded group attributes

Returns:
true/false

getAttributeValue

public String getAttributeValue(String name)
Description copied from class: SubjectImpl
Returns the value of a single-valued attribute. If multivalued, this returns the first value

Specified by:
getAttributeValue in interface Subject
Overrides:
getAttributeValue in class SubjectImpl
Returns:
value or null if not found
See Also:
Subject.getAttributeValue(java.lang.String)

getDescription

public String getDescription()
Description copied from class: SubjectImpl
Gets this Subject's description.

Specified by:
getDescription in interface Subject
Overrides:
getDescription in class SubjectImpl
Returns:
description or null if not there
See Also:
Subject.getDescription()