Package org.cdlib.mrt.cloud
Class MatchMap
java.lang.Object
org.cdlib.mrt.cloud.MatchMap
This object imports the formatTypes.xml and builds a local table of supported format types.
Note, that the ObjectFormat is being deprecated and replaced by a single format id (fmtid).
This change is happening because formatName is strictly a description and has no functional
use. The scienceMetadata flag is being dropped because the ORE Resource Map is more flexible
and allows for a broader set of data type.
- Author:
- dloy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected LoggerInf
protected VersionMap
protected VersionMap
protected boolean
protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
compare()
boolean
boolean
boolean
boolean
boolean
isSubset()
protected boolean
isSubsetOneTwo
(long currentOne, long currentTwo) protected boolean
-
Field Details
-
mapOne
-
mapTwo
-
logger
-
missingMap
protected boolean missingMap -
differentCurrent
protected boolean differentCurrent -
differentContent
protected boolean differentContent -
subset
protected boolean subset
-
-
Constructor Details
-
MatchMap
- Throws:
TException
-
-
Method Details
-
compare
- Throws:
TException
-
isDifferent
public boolean isDifferent() -
sameOneTwo
protected boolean sameOneTwo() -
isSubsetOneTwo
protected boolean isSubsetOneTwo(long currentOne, long currentTwo) -
isMissingMap
public boolean isMissingMap() -
isDifferentCurrent
public boolean isDifferentCurrent() -
isDifferentContent
public boolean isDifferentContent() -
isSubset
public boolean isSubset() -
dump
-