edu.internet2.middleware.subject.provider
Class SubjectTypeEnum

java.lang.Object
  extended by edu.internet2.middleware.subject.SubjectType
      extended by edu.internet2.middleware.subject.provider.SubjectTypeEnum
All Implemented Interfaces:
Serializable

public class SubjectTypeEnum
extends SubjectType

SubjectType enum for person, group, and organization.

See Also:
Serialized Form

Field Summary
static SubjectTypeEnum APPLICATION
           
static SubjectTypeEnum GROUP
           
static SubjectTypeEnum PERSON
           
static List<SubjectType> VALUES
           
 
Method Summary
 String getName()
          (non-Javadoc)
 String toString()
           
static SubjectType valueOf(String value)
          Factory method for returning instance of datatype from the pool of valid objects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUES

public static final List<SubjectType> VALUES

PERSON

public static final SubjectTypeEnum PERSON

GROUP

public static final SubjectTypeEnum GROUP

APPLICATION

public static final SubjectTypeEnum APPLICATION
Method Detail

getName

public String getName()
(non-Javadoc)

Specified by:
getName in class SubjectType
Returns:
name
See Also:
SubjectType.getName()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

valueOf

public static SubjectType valueOf(String value)
Factory method for returning instance of datatype from the pool of valid objects.

Parameters:
value -
Returns:
subject type