java.lang.Object
org.drip.portfolioconstruction.core.Block
Direct Known Subclasses:
Account, Asset, AttributeJointDense, AttributeJointFactor, Benchmark, BlockAttribute, BlockClassification, Factor, FormulationTerm, Holdings, Rebalancer, Strategy, TaxAccountingScheme, TransactionCharge

public class Block
extends java.lang.Object
Block forms the Base underneath all Portfolio Construction Objects.



Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    Block​(java.lang.String name, java.lang.String id, java.lang.String description)
    Block Constructor
  • Method Summary

    Modifier and Type Method Description
    java.lang.String description()
    Retrieve the Description
    int hashCode()  
    java.lang.String id()
    Retrieve the ID
    java.lang.String name()
    Retrieve the Name
    static Block Standard​(java.lang.String name)
    Construct a Standard Instance of a Block
    java.util.Date timeStamp()
    Retrieve the Creation Time Stamp

    Methods inherited from class java.lang.Object

    equals, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Block

      public Block​(java.lang.String name, java.lang.String id, java.lang.String description) throws java.lang.Exception
      Block Constructor
      Parameters:
      name - The Name
      id - The ID
      description - The Description
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Standard

      public static final Block Standard​(java.lang.String name)
      Construct a Standard Instance of a Block
      Parameters:
      name - The Block Name
      Returns:
      The Standard Block Instance
    • name

      public java.lang.String name()
      Retrieve the Name
      Returns:
      The Name
    • id

      public java.lang.String id()
      Retrieve the ID
      Returns:
      The ID
    • description

      public java.lang.String description()
      Retrieve the Description
      Returns:
      The Description
    • timeStamp

      public java.util.Date timeStamp()
      Retrieve the Creation Time Stamp
      Returns:
      The Creation Time Stamp
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object