|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.citool.comparator.ObjectStatementComparator
public class ObjectStatementComparator
Class to compare two objects of a PDS label.
Constructor Summary | |
---|---|
ObjectStatementComparator()
|
Method Summary | |
---|---|
List<gov.nasa.pds.tools.LabelParserException> |
checkAttributeEquality(List<gov.nasa.pds.tools.label.AttributeStatement> sources,
gov.nasa.pds.tools.label.ObjectStatement target)
Checks if the list of attributes are equal to the attributes in the "target" object. |
List<gov.nasa.pds.tools.LabelParserException> |
checkEquality(gov.nasa.pds.tools.label.ObjectStatement source,
gov.nasa.pds.tools.label.ObjectStatement target)
Determines if the two supplied objects are equal. |
List<gov.nasa.pds.tools.LabelParserException> |
checkObjectEquality(List<gov.nasa.pds.tools.label.ObjectStatement> sources,
gov.nasa.pds.tools.label.ObjectStatement target)
Checks if the list of nested object statements are equal to the nested objects found in the "target" PDS object. |
List<gov.nasa.pds.tools.LabelParserException> |
checkPointerEquality(List<gov.nasa.pds.tools.label.PointerStatement> sources,
gov.nasa.pds.tools.label.ObjectStatement target)
Checks if the list of pointer statements are equal to the pointers found in the "target" object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectStatementComparator()
Method Detail |
---|
public List<gov.nasa.pds.tools.LabelParserException> checkEquality(gov.nasa.pds.tools.label.ObjectStatement source, gov.nasa.pds.tools.label.ObjectStatement target)
source
- Class representation of the "source" PDS object.target
- Class representation of the "target" PDS object.
public List<gov.nasa.pds.tools.LabelParserException> checkAttributeEquality(List<gov.nasa.pds.tools.label.AttributeStatement> sources, gov.nasa.pds.tools.label.ObjectStatement target)
sources
- A list of attribute statements.target
- Class representation of the "target" PDS object.
public List<gov.nasa.pds.tools.LabelParserException> checkPointerEquality(List<gov.nasa.pds.tools.label.PointerStatement> sources, gov.nasa.pds.tools.label.ObjectStatement target)
sources
- A list of pointer statements.target
- Class representation of the "target" PDS object.
public List<gov.nasa.pds.tools.LabelParserException> checkObjectEquality(List<gov.nasa.pds.tools.label.ObjectStatement> sources, gov.nasa.pds.tools.label.ObjectStatement target)
sources
- A list of nested objects from the "source" PDS
object.target
- Class representation of the "target" PDS object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |