Package com.orchestranetworks.addon.dqid
Class LinkedRecord
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.LinkedRecord
-
public final class LinkedRecord extends java.lang.ObjectThe relevant records that affect an indicator result.Keeps the information of the relevant records.
Declares the fields in the
Linked recordtable in theInsight - Reportingdata set.- Since:
- 1.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static com.orchestranetworks.schema.PathDatasetstatic com.orchestranetworks.schema.PathDataspacestatic com.orchestranetworks.schema.PathExecutionTimestatic com.orchestranetworks.schema.PathFKDECstatic com.orchestranetworks.schema.PathFKIndicatorstatic com.orchestranetworks.schema.PathOidstatic com.orchestranetworks.schema.PathRecordPredicatestatic com.orchestranetworks.schema.PathTablePath
-
Constructor Summary
Constructors Constructor Description LinkedRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRelevantRecord(com.onwbp.adaptation.Adaptation record)Adds the xpath predicate string of a record.voidaddRelevantRecord(com.onwbp.adaptation.Adaptation record, java.util.List<com.orchestranetworks.schema.Path> reportingPaths)Adds an xpath predicate string of a record.voidaddRelevantRecordPredicate(java.lang.String predicate)Adds an xpath predicate string.voidaddRelevantRecordPredicate(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 ofFlat data reportpaths.intgetNumberRelevantRecords()Returns the number of relevant records.
-
-
-
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
-
-
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 reportpaths.
-
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 reportpaths.
-
getLinkedItems
public java.util.Map<java.lang.String,java.util.Set<com.orchestranetworks.schema.Path>> getLinkedItems()
Returns the map between predicates and sets ofFlat data reportpaths.Each entry of the map represents a linked item.
-
getNumberRelevantRecords
public int getNumberRelevantRecords()
Returns the number of relevant records.
-
-