com.opengamma.strata.market.param.TenoredParameterMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of strata-market Show documentation
Show all versions of strata-market Show documentation
Entities describing the financial market
The newest version!
/*
* Copyright (C) 2018 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.market.param;
import com.opengamma.strata.basics.date.Tenor;
/**
* Parameter metadata that specifies a tenor.
*/
public interface TenoredParameterMetadata extends ParameterMetadata {
/**
* Gets the tenor associated with the parameter.
*
* This is the tenor of the parameter.
*
* @return the tenor
*/
public abstract Tenor getTenor();
/**
* Returns an instance with the tenor updated.
*
* @param tenor the tenor to update to
* @return the updated metadata
*/
public abstract TenoredParameterMetadata withTenor(Tenor tenor);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy