Class CurveName

    • Method Detail

      • of

        public static CurveName of​(java.lang.String name)
        Obtains an instance from the specified name.

        Curve names may contain any character, but must not be empty.

        Parameters:
        name - the name of the curve
        Returns:
        a curve with the specified name
      • getMarketDataType

        public java.lang.Class<Curve> getMarketDataType()
        Description copied from class: MarketDataName
        Gets the type of data this name refers to.
        Specified by:
        getMarketDataType in class MarketDataName<Curve>
        Returns:
        the type of the market data this name refers to
      • getName

        public java.lang.String getName()
        Description copied from class: MarketDataName
        Gets the market data name.

        The name must be unique within any single coherent data set.

        Specified by:
        getName in interface Named
        Specified by:
        getName in class MarketDataName<Curve>
        Returns:
        the unique name