Class ProductMetadata
java.lang.Object
ecmwf.common.database.ProductMetadata
- All Implemented Interfaces:
Serializable
The Class ProductMetadata.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProductMetadata(String product, String type, String description, String tips) Instantiates a new product metadata.ProductMetadata(String product, String type, String description, String tips, boolean groupTimes) Instantiates a new product metadata. -
Method Summary
Modifier and TypeMethodDescriptionGets the description.Gets the product.getTips()Gets the tips.getType()Gets the type.booleanChecks if this is a generic (all-types) entry, i.e. the type is empty.booleanChecks whether all cycles/times of this product should be grouped into a single monitoring page.
-
Constructor Details
-
ProductMetadata
-
ProductMetadata
public ProductMetadata(String product, String type, String description, String tips, boolean groupTimes) Instantiates a new product metadata.- Parameters:
product- the producttype- the typedescription- the descriptiontips- the tipsgroupTimes- whether all cycles/times of this product should be grouped into a single monitoring page
-
-
Method Details
-
getProduct
-
getType
-
getDescription
-
getTips
-
isGroupTimes
public boolean isGroupTimes()Checks whether all cycles/times of this product should be grouped into a single monitoring page. Only meaningful on the generic (all-types) entry.- Returns:
- true, if all cycles/times should be grouped into one page
-
isGeneric
public boolean isGeneric()Checks if this is a generic (all-types) entry, i.e. the type is empty.- Returns:
- true, if is generic
-