Class LinkedRecord


  • public final class LinkedRecord
    extends java.lang.Object
    The relevant records that affect an indicator result.

    Keeps the information of the relevant records.

    Declares the fields in the Linked record table in the Insight - Reporting data set.

    Since:
    1.4.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.orchestranetworks.schema.Path Dataset  
      static com.orchestranetworks.schema.Path Dataspace  
      static com.orchestranetworks.schema.Path ExecutionTime  
      static com.orchestranetworks.schema.Path FKDEC  
      static com.orchestranetworks.schema.Path FKIndicator  
      static com.orchestranetworks.schema.Path Oid  
      static com.orchestranetworks.schema.Path RecordPredicate  
      static com.orchestranetworks.schema.Path TablePath  
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkedRecord()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRelevantRecord​(com.onwbp.adaptation.Adaptation record)
      Adds the xpath predicate string of a record.
      void addRelevantRecord​(com.onwbp.adaptation.Adaptation record, java.util.List<com.orchestranetworks.schema.Path> reportingPaths)
      Adds an xpath predicate string of a record.
      void addRelevantRecordPredicate​(java.lang.String predicate)
      Adds an xpath predicate string.
      void addRelevantRecordPredicate​(java.lang.String predicate, java.util.List<com.orchestranetworks.schema.Path> reportingPaths)
      Adds an xpath predicate string.
      java.util.Map<java.lang.String,​java.util.Set<com.orchestranetworks.schema.Path>> getLinkedItems()
      Returns the map between predicates and sets of Flat data report paths.
      int getNumberRelevantRecords()
      Returns the number of relevant records.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Oid

        public static final com.orchestranetworks.schema.Path Oid
      • FKIndicator

        public static final com.orchestranetworks.schema.Path FKIndicator
      • FKDEC

        public static final com.orchestranetworks.schema.Path FKDEC
      • Dataspace

        public static final com.orchestranetworks.schema.Path Dataspace
      • Dataset

        public static final com.orchestranetworks.schema.Path Dataset
      • TablePath

        public static final com.orchestranetworks.schema.Path TablePath
      • RecordPredicate

        public static final com.orchestranetworks.schema.Path RecordPredicate
      • ExecutionTime

        public static final com.orchestranetworks.schema.Path ExecutionTime
    • Constructor Detail

      • LinkedRecord

        public LinkedRecord()
    • Method Detail

      • addRelevantRecord

        public void addRelevantRecord​(com.onwbp.adaptation.Adaptation record)
        Adds the xpath predicate string of a record.
      • addRelevantRecordPredicate

        public void addRelevantRecordPredicate​(java.lang.String predicate)
        Adds an xpath predicate string.
      • addRelevantRecord

        public void addRelevantRecord​(com.onwbp.adaptation.Adaptation record,
                                      java.util.List<com.orchestranetworks.schema.Path> reportingPaths)
        Adds an xpath predicate string of a record.

        The predicate string can be mapped with a list of Flat data report paths.

      • addRelevantRecordPredicate

        public void addRelevantRecordPredicate​(java.lang.String predicate,
                                               java.util.List<com.orchestranetworks.schema.Path> reportingPaths)
        Adds an xpath predicate string.

        The predicate string can be mapped with a list of Flat data report paths.

      • getLinkedItems

        public java.util.Map<java.lang.String,​java.util.Set<com.orchestranetworks.schema.Path>> getLinkedItems()
        Returns the map between predicates and sets of Flat data report paths.

        Each entry of the map represents a linked item.

      • getNumberRelevantRecords

        public int getNumberRelevantRecords()
        Returns the number of relevant records.