Enum Class RequirementClass
- All Implemented Interfaces:
 Serializable,Comparable<RequirementClass>,Constable
Encapsulates all known requirement classes.
- Author:
 - Lyn Goltz
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> - 
Enum Constant Summary
Enum Constants - 
Method Summary
Modifier and TypeMethodDescriptionstatic RequirementClassbyConformanceClass(String conformanceClass) byConformanceClass.Getter for the fieldmediaTypeFeaturesAndCollections.Getter for the fieldmediaTypeOtherResources.booleanhasMediaTypeForFeaturesAndCollections.booleanhasMediaTypeForOtherResources.static RequirementClassReturns the enum constant of this class with the specified name.static RequirementClass[]values()Returns an array containing the constants of this enum class, in the order they are declared. 
- 
Enum Constant Details
- 
CORE
 
 - 
 - 
Method Details
- 
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
 - an array containing the constants of this enum class, in the order they are declared
 
 - 
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
 IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
 - 
hasMediaTypeForFeaturesAndCollections
public boolean hasMediaTypeForFeaturesAndCollections()hasMediaTypeForFeaturesAndCollections.
- Returns:
 trueif the RequirementClass has a media type for features and collections,trueotherwise
 - 
getMediaTypeFeaturesAndCollections
Getter for the field
mediaTypeFeaturesAndCollections.- Returns:
 - media type for features and collections, 
nullif not available 
 - 
hasMediaTypeForOtherResources
public boolean hasMediaTypeForOtherResources()hasMediaTypeForOtherResources.
- Returns:
 trueif the RequirementClass has a media type for other resources,trueotherwise
 - 
getMediaTypeOtherResources
Getter for the field
mediaTypeOtherResources.- Returns:
 - media type of other resources, 
nullif not available 
 - 
byConformanceClass
byConformanceClass.
- Parameters:
 conformanceClass- the conformance class of the RequirementClass to return.- Returns:
 - the RequirementClass with the passed conformance class, 
nullif RequirementClass exists 
 
 -