com.opengamma.strata.market.curve.CurveGroupName 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) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.market.curve;
import org.joda.convert.FromString;
import com.opengamma.strata.collect.TypedString;
/**
* The name of a curve group.
*/
public final class CurveGroupName
extends TypedString {
/** Serialization version. */
private static final long serialVersionUID = 1L;
//-------------------------------------------------------------------------
/**
* Obtains an instance from the specified name.
*
* Curve group names may contain any character, but must not be empty.
*
* @param name the name of the curve group
* @return a curve group name
*/
@FromString
public static CurveGroupName of(String name) {
return new CurveGroupName(name);
}
/**
* Creates an instance.
*
* @param name the name of the curve group
*/
private CurveGroupName(String name) {
super(name);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy