Package gov.nasa.pds.label
Enum ProductType
- All Implemented Interfaces:
- Serializable,- Comparable<ProductType>,- java.lang.constant.Constable
public enum ProductType extends Enum<ProductType>
Defines label product types, as enumeration constants. Not all
 PDS product types are distinguished by the object-access library.
 The value 
PRODUCT_OTHER is used for all products not
 specially handled by the library.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants Enum Constant Description PRODUCT_BROWSEA PDS4 browse product.PRODUCT_BUNDLEA PDS4 bundle product.PRODUCT_COLLECTIONA PDS4 collection product.PRODUCT_DOCUMENTA PDS4 document product.PRODUCT_OBSERVATIONALA PDS4 observational product.PRODUCT_OTHERAnother product type not specifically handled by the object access library.PRODUCT_PDS3A PDS 3 version generic product.PRODUCT_THUMBNAILA PDS4 thumbnail product.
- 
Method SummaryModifier and Type Method Description static ProductTypetypeForClass(Class<? extends Product> clazz)Gets the product type for a PDS4 product class.static ProductTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProductType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
PRODUCT_PDS3A PDS 3 version generic product.
- 
PRODUCT_OBSERVATIONALA PDS4 observational product.
- 
PRODUCT_BROWSEA PDS4 browse product.
- 
PRODUCT_THUMBNAILA PDS4 thumbnail product.
- 
PRODUCT_DOCUMENTA PDS4 document product.
- 
PRODUCT_BUNDLEA PDS4 bundle product.
- 
PRODUCT_COLLECTIONA PDS4 collection product.
- 
PRODUCT_OTHERAnother product type not specifically handled by the object access library.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
typeForClassGets the product type for a PDS4 product class.- Parameters:
- clazz- the product class
- Returns:
- the product type enumeration constant for that product class
 
 
-