public enum ProductType extends java.lang.Enum<ProductType>
PRODUCT_OTHER
is used for all
products not specially handled by the library.Enum Constant and Description |
---|
PRODUCT_BROWSE
A PDS4 browse product.
|
PRODUCT_BUNDLE
A PDS4 bundle product.
|
PRODUCT_COLLECTION
A PDS4 collection product.
|
PRODUCT_DOCUMENT
A PDS4 document product.
|
PRODUCT_OBSERVATIONAL
A PDS4 observational product.
|
PRODUCT_OTHER
Another product type not specifically handled by the object access library.
|
PRODUCT_PDS3
A PDS 3 version generic product.
|
PRODUCT_THUMBNAIL
A PDS4 thumbnail product.
|
Modifier and Type | Method and Description |
---|---|
static ProductType |
typeForClass(java.lang.Class<? extends Product> clazz)
Gets the product type for a PDS4 product class.
|
static ProductType |
valueOf(java.lang.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.
|
public static final ProductType PRODUCT_PDS3
public static final ProductType PRODUCT_OBSERVATIONAL
public static final ProductType PRODUCT_BROWSE
public static final ProductType PRODUCT_THUMBNAIL
public static final ProductType PRODUCT_DOCUMENT
public static final ProductType PRODUCT_BUNDLE
public static final ProductType PRODUCT_COLLECTION
public static final ProductType PRODUCT_OTHER
public static ProductType[] values()
for (ProductType c : ProductType.values()) System.out.println(c);
public static ProductType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ProductType typeForClass(java.lang.Class<? extends Product> clazz)
clazz
- the product classCopyright © 2023 Planetary Data System. All rights reserved.