Class CurveId

    • Method Detail

      • of

        public static CurveId of​(java.lang.String groupName,
                                 java.lang.String curveName)
        Obtains an instance used to obtain a curve by name.
        Parameters:
        groupName - the curve group name
        curveName - the curve name
        Returns:
        the identifier
      • of

        public static CurveId of​(CurveGroupName groupName,
                                 CurveName curveName)
        Obtains an instance used to obtain a curve by name.
        Parameters:
        groupName - the curve group name
        curveName - the curve name
        Returns:
        the identifier
      • of

        public static CurveId of​(CurveGroupName groupName,
                                 CurveName curveName,
                                 ObservableSource obsSource)
        Obtains an instance used to obtain a curve by name, specifying the source of observable market data.
        Parameters:
        groupName - the curve group name
        curveName - the curve name
        obsSource - the source of observable market data
        Returns:
        the identifier
      • getMarketDataType

        public java.lang.Class<Curve> getMarketDataType()
        Description copied from interface: MarketDataId
        Gets the type of data this identifier refers to.
        Specified by:
        getMarketDataType in interface MarketDataId<Curve>
        Returns:
        the type of the market data this identifier refers to
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • meta

        public static TypedMetaBean<CurveId> meta()
        The meta-bean for CurveId.
        Returns:
        the meta-bean, not null
      • getCurveGroupName

        public CurveGroupName getCurveGroupName()
        Gets the curve group name.
        Returns:
        the value of the property, not null
      • getCurveName

        public CurveName getCurveName()
        Gets the curve name.
        Returns:
        the value of the property, not null
      • getObservableSource

        public ObservableSource getObservableSource()
        Gets the source of observable market data.
        Returns:
        the value of the property, not null
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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