public class CatalogComparator extends Object
Constructor and Description |
---|
CatalogComparator() |
Modifier and Type | Method and Description |
---|---|
List<gov.nasa.pds.tools.LabelParserException> |
checkAttributeEquality(List<gov.nasa.pds.tools.label.AttributeStatement> sources,
gov.nasa.pds.tools.label.Label target)
Checks if the list of attributes are equal to the attributes in the
target PDS catalog file.
|
gov.nasa.pds.tools.label.Label |
checkEquality(gov.nasa.pds.tools.label.Label source,
gov.nasa.pds.tools.label.Label target)
Determines if the two supplied catalog labels are equal.
|
List<gov.nasa.pds.tools.LabelParserException> |
checkObjectEquality(List<gov.nasa.pds.tools.label.ObjectStatement> sources,
gov.nasa.pds.tools.label.Label target)
Checks if the list of object statements are equal to the objects found
in the target PDS catalog file.
|
List<gov.nasa.pds.tools.LabelParserException> |
checkPointerEquality(List<gov.nasa.pds.tools.label.PointerStatement> sources,
gov.nasa.pds.tools.label.Label target)
Checks if the list of pointer statements are equal to the pointers
found in the target PDS catalog file.
|
public gov.nasa.pds.tools.label.Label checkEquality(gov.nasa.pds.tools.label.Label source, gov.nasa.pds.tools.label.Label target)
source
- A label representation of the "source" PDS Catalog
file.target
- A label representation of the "target" PDS Catalog
file.public List<gov.nasa.pds.tools.LabelParserException> checkAttributeEquality(List<gov.nasa.pds.tools.label.AttributeStatement> sources, gov.nasa.pds.tools.label.Label target)
sources
- A list of attribute statements.target
- A label representation of the "target" PDS catalog
file.public List<gov.nasa.pds.tools.LabelParserException> checkPointerEquality(List<gov.nasa.pds.tools.label.PointerStatement> sources, gov.nasa.pds.tools.label.Label target)
sources
- A list of pointer statements.target
- A label representation of the "target" PDS catalog
file.public List<gov.nasa.pds.tools.LabelParserException> checkObjectEquality(List<gov.nasa.pds.tools.label.ObjectStatement> sources, gov.nasa.pds.tools.label.Label target)
sources
- A list of object statements.target
- A label representation of the "target" PDS catalog
file.Copyright © 2010–2015 Planetary Data System. All rights reserved.