net.ivoa.xml.voresource.v1
Enum ContentLevel

java.lang.Object
  extended by java.lang.Enum<ContentLevel>
      extended by net.ivoa.xml.voresource.v1.ContentLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentLevel>

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

Java class for ContentLevel.

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

 <simpleType name="ContentLevel">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="General"/>
     <enumeration value="Elementary Education"/>
     <enumeration value="Middle School Education"/>
     <enumeration value="Secondary Education"/>
     <enumeration value="Community College"/>
     <enumeration value="University"/>
     <enumeration value="Research"/>
     <enumeration value="Amateur"/>
     <enumeration value="Informal Education"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
AMATEUR
          Resource provides information of interest to amateur astronomers.
COMMUNITY_COLLEGE
          Resource provides information appropriate for use in community/junior college or early university education.
ELEMENTARY_EDUCATION
          Resource provides information appropriate for use in elementary education (e.g. approximate ages 6-11)
GENERAL
          Resource provides information appropriate for all users
INFORMAL_EDUCATION
          Resource provides information appropriate for education at museums, planetariums, and other centers of informal learning.
MIDDLE_SCHOOL_EDUCATION
          Resource provides information appropriate for use in middle school education (e.g. approximate ages 11-14)
RESEARCH
          Resource provides information appropriate for supporting scientific research.
SECONDARY_EDUCATION
          Resource provides information appropriate for use in elementary education (e.g. approximate ages 14-18)
UNIVERSITY
          Resource provides information appropriate for use in university education
 
Method Summary
static ContentLevel fromValue(java.lang.String v)
           
 java.lang.String value()
           
static ContentLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentLevel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GENERAL

public static final ContentLevel GENERAL
Resource provides information appropriate for all users


ELEMENTARY_EDUCATION

public static final ContentLevel ELEMENTARY_EDUCATION
Resource provides information appropriate for use in elementary education (e.g. approximate ages 6-11)


MIDDLE_SCHOOL_EDUCATION

public static final ContentLevel MIDDLE_SCHOOL_EDUCATION
Resource provides information appropriate for use in middle school education (e.g. approximate ages 11-14)


SECONDARY_EDUCATION

public static final ContentLevel SECONDARY_EDUCATION
Resource provides information appropriate for use in elementary education (e.g. approximate ages 14-18)


COMMUNITY_COLLEGE

public static final ContentLevel COMMUNITY_COLLEGE
Resource provides information appropriate for use in community/junior college or early university education.


UNIVERSITY

public static final ContentLevel UNIVERSITY
Resource provides information appropriate for use in university education


RESEARCH

public static final ContentLevel RESEARCH
Resource provides information appropriate for supporting scientific research.


AMATEUR

public static final ContentLevel AMATEUR
Resource provides information of interest to amateur astronomers.


INFORMAL_EDUCATION

public static final ContentLevel INFORMAL_EDUCATION
Resource provides information appropriate for education at museums, planetariums, and other centers of informal learning.

Method Detail

values

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

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

valueOf

public static ContentLevel 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
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

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


Copyright © 2011 VAMDC. All Rights Reserved.