Class Block
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.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = Core Portfolio Construction Component Suite
- 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 Descriptionint
hashCode()
java.lang.String
id()
Retrieve the IDjava.lang.String
name()
Retrieve the Namestatic Block
Standard(java.lang.String name)
Construct a Standard Instance of a Blockjava.util.Date
timeStamp()
Retrieve the Creation Time StampMethods 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.ExceptionBlock Constructor- Parameters:
name
- The Nameid
- The IDdescription
- The Description- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
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 classjava.lang.Object
-