Class NamedField

java.lang.Object
org.drip.service.scenario.NamedField

public class NamedField
extends java.lang.Object
Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    NamedField​(java.lang.String strName, double dblValue)
    NamedField Constructor
  • Method Summary

    Modifier and Type Method Description
    java.lang.String name()
    Retrieve the Field Name
    double value()
    Retrieve the Field Value

    Methods inherited from class java.lang.Object

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

    • NamedField

      public NamedField​(java.lang.String strName, double dblValue) throws java.lang.Exception
      NamedField Constructor
      Parameters:
      strName - Field Name
      dblValue - Field Value
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • name

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

      public double value()
      Retrieve the Field Value
      Returns:
      The Field Value