org.spase.parser110
Enum EnumRole

java.lang.Object
  extended by java.lang.Enum<EnumRole>
      extended by org.spase.parser110.EnumRole
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnumRole>

public enum EnumRole
extends java.lang.Enum<EnumRole>

Java class for enumRole.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="enumRole">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="CoInvestigator"/>
     <enumeration value="DataProducer"/>
     <enumeration value="GeneralContact"/>
     <enumeration value="PrincipalInvestigator"/>
     <enumeration value="ProjectScientist"/>
     <enumeration value="Scientist"/>
     <enumeration value="TeamLeader"/>
     <enumeration value="TeamMember"/>
     <enumeration value="TechnicalContact"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CO_INVESTIGATOR
          An individual who is a scientific peer and major participant for an investigation.
DATA_PRODUCER
          An individual who generated the resource and is familiar with its provenance.
GENERAL_CONTACT
          An individual who can provide information on a range of subjects or who can direct you to a domain expert.
PRINCIPAL_INVESTIGATOR
          An individual who is the administrative and scientific lead for an investigation.
PROJECT_SCIENTIST
          An individual who is an expert in the phenomenon and related physics explored by the project.
SCIENTIST
          An individual who is an expert in the phenomenon and related physics represented by the resource.
TEAM_LEADER
          An individual who is the scientific and administrative lead for an investigation.
TEAM_MEMBER
          An individual who is a major participant in an investigation.
TECHNICAL_CONTACT
          An individual who can provide specific information with regard to the resource or supporting software
 
Method Summary
static EnumRole fromValue(java.lang.String v)
           
 java.lang.String value()
           
static EnumRole valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumRole[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CO_INVESTIGATOR

public static final EnumRole CO_INVESTIGATOR
An individual who is a scientific peer and major participant for an investigation.


DATA_PRODUCER

public static final EnumRole DATA_PRODUCER
An individual who generated the resource and is familiar with its provenance.


GENERAL_CONTACT

public static final EnumRole GENERAL_CONTACT
An individual who can provide information on a range of subjects or who can direct you to a domain expert.


PRINCIPAL_INVESTIGATOR

public static final EnumRole PRINCIPAL_INVESTIGATOR
An individual who is the administrative and scientific lead for an investigation.


PROJECT_SCIENTIST

public static final EnumRole PROJECT_SCIENTIST
An individual who is an expert in the phenomenon and related physics explored by the project. A project scientist may also have a manageral role within the project.


SCIENTIST

public static final EnumRole SCIENTIST
An individual who is an expert in the phenomenon and related physics represented by the resource.


TEAM_LEADER

public static final EnumRole TEAM_LEADER
An individual who is the scientific and administrative lead for an investigation.


TEAM_MEMBER

public static final EnumRole TEAM_MEMBER
An individual who is a major participant in an investigation.


TECHNICAL_CONTACT

public static final EnumRole TECHNICAL_CONTACT
An individual who can provide specific information with regard to the resource or supporting software

Method Detail

values

public static final EnumRole[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(EnumRole c : EnumRole.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static EnumRole valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

value

public java.lang.String value()

fromValue

public static EnumRole fromValue(java.lang.String v)