public class ProductGroupNode
extends java.lang.Object
Constructor and Description |
---|
ProductGroupNode(java.util.Set<HiProduct> products)
Create a new node for a set of products.
|
Modifier and Type | Method and Description |
---|---|
ProductVersionNode |
addProductVersion(HiProduct product,
int version)
Add a product
|
int |
getCount()
Get the number of versions
|
int |
getMaxVersion() |
int |
getMinVersion() |
java.util.Map<java.lang.Integer,ProductVersionNode> |
getVersions()
Get the child nodes (key and value)
|
void |
setIgnorable(HiProduct... ignorable)
Set the state of particular products as ignorable
|
public ProductGroupNode(java.util.Set<HiProduct> products)
products
- The products in this grouppublic void setIgnorable(HiProduct... ignorable)
ignorable
- products to ignorepublic ProductVersionNode addProductVersion(HiProduct product, int version)
product
- the productversion
- the versionpublic int getMinVersion()
public int getMaxVersion()
public java.util.Map<java.lang.Integer,ProductVersionNode> getVersions()
public int getCount()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona