com.opengamma.strata.market.curve.LegalEntityGroup 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;
/**
* Legal entity group.
*/
public final class LegalEntityGroup
extends TypedString {
/** Serialization version. */
private static final long serialVersionUID = 1L;
//-------------------------------------------------------------------------
/**
* Obtains an instance from the specified name.
*
* Legal entity group names may contain any character, but must not be empty.
*
* @param name the legal entity group name
* @return a legal entity group with the specified String
*/
@FromString
public static LegalEntityGroup of(String name) {
return new LegalEntityGroup(name);
}
/**
* Creates an instance.
*
* @param name the legal entity group name
*/
private LegalEntityGroup(String name) {
super(name);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy