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, int category)
    Block Constructor
  • Method Summary

    Modifier and Type Method Description
    int category()
    Retrieve the Block Category
    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, int category)
    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, int category) throws java.lang.Exception
      Block Constructor
      Parameters:
      name - The Name
      id - The ID
      description - The Description
      category - Block Category
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Standard

      public static final Block Standard​(java.lang.String name, int category)
      Construct a Standard Instance of a Block
      Parameters:
      name - The Block Name
      category - Block Category
      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
    • category

      public int category()
      Retrieve the Block Category
      Returns:
      Block Category
    • hashCode

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