|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ProductType>
gov.nasa.pds.label.ProductType
public 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.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
static ProductType |
typeForClass(Class<? extends Product> clazz)
Gets the product type for a PDS4 product class. |
static ProductType |
valueOf(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. |
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 |
---|
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
Method Detail |
---|
public static ProductType[] values()
for (ProductType c : ProductType.values()) System.out.println(c);
public static ProductType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ProductType typeForClass(Class<? extends Product> clazz)
clazz
- the product class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |