Class SurfaceName

    • Method Detail

      • of

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

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

        Parameters:
        name - the name of the surface
        Returns:
        a surface with the specified name
      • 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<Surface>
        Returns:
        the unique name