Class LegalEntityNodeBuilder
- java.lang.Object
-
- com.activeviam.risk.ref.parentchild.builders.ParentChildNodeBuilder<LegalEntityParentChildNode,LegalEntityNodeBuilder>
-
- com.activeviam.risk.ref.parentchild.builders.LegalEntityNodeBuilder
-
- All Implemented Interfaces:
Cloneable
public class LegalEntityNodeBuilder extends ParentChildNodeBuilder<LegalEntityParentChildNode,LegalEntityNodeBuilder>
The LegalEntityNodeBuilder is an instance ofParentChildNodeBuilder
that provides a way to make legal entity nodes. It follows a standard builder pattern for making objects. The primary benefit this builder provides over allowing the user to just create their own nodes is it provides a way to map field types from strings to booleans. Nodes in the datastore itself may have fields with "Y" or "N" instead of the data models true/false. This builder converts those values for a caller without the caller having to worry about the type of the fields for the modal.
-
-
Field Summary
-
Fields inherited from class com.activeviam.risk.ref.parentchild.builders.ParentChildNodeBuilder
asOf, name, parent
-
-
Constructor Summary
Constructors Constructor Description LegalEntityNodeBuilder(LocalDate asOf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegalEntityParentChildNode
build()
-
Methods inherited from class com.activeviam.risk.ref.parentchild.builders.ParentChildNodeBuilder
withName, withParent
-
-
-
-
Constructor Detail
-
LegalEntityNodeBuilder
public LegalEntityNodeBuilder(LocalDate asOf)
-
-
Method Detail
-
build
public LegalEntityParentChildNode build()
- Specified by:
build
in classParentChildNodeBuilder<LegalEntityParentChildNode,LegalEntityNodeBuilder>
-
-