Class CounterpartyHierarchyBuilder
- java.lang.Object
-
- com.activeviam.risk.ref.parentchild.hierarchy.builders.HierarchyBuilder<CounterpartyHierarchyBuilder>
-
- com.activeviam.risk.ref.parentchild.hierarchy.builders.CounterpartyHierarchyBuilder
-
- All Implemented Interfaces:
Cloneable
public class CounterpartyHierarchyBuilder extends HierarchyBuilder<CounterpartyHierarchyBuilder>
The CounterpartyHierarchyBuilder is an instance of HierarchyBuilder that provides a way to make counterparty node tuples to be stored in a hierarchy datastore. It follows a standard builder pattern for making objects. This builder will map various fields into a tuple that can be later stored in the counterparty datastore. This build will keep track of the nodes level and store its ancestors in each level above it in the levels part of the tuples.- Author:
- ActiveViam
-
-
Field Summary
-
Fields inherited from class com.activeviam.risk.ref.parentchild.hierarchy.builders.HierarchyBuilder
asOf, leaf, levels
-
-
Constructor Summary
Constructors Constructor Description CounterpartyHierarchyBuilder(LocalDate asOf, com.qfs.store.IDatastore datastore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
build()
-
Methods inherited from class com.activeviam.risk.ref.parentchild.hierarchy.builders.HierarchyBuilder
clone, withLeaf, withLevel
-
-
-
-
Constructor Detail
-
CounterpartyHierarchyBuilder
public CounterpartyHierarchyBuilder(LocalDate asOf, com.qfs.store.IDatastore datastore)
-
-
Method Detail
-
build
public Object[] build()
- Specified by:
build
in classHierarchyBuilder<CounterpartyHierarchyBuilder>
-
-