Class MatchMap

java.lang.Object
org.cdlib.mrt.cloud.MatchMap

public class MatchMap extends Object
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 Details

    • mapOne

      protected VersionMap mapOne
    • mapTwo

      protected VersionMap mapTwo
    • logger

      protected LoggerInf logger
    • missingMap

      protected boolean missingMap
    • differentCurrent

      protected boolean differentCurrent
    • differentContent

      protected boolean differentContent
    • subset

      protected boolean subset
  • Constructor Details

  • Method Details

    • compare

      public void compare() throws TException
      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

      public String dump(String header)