public final class CcpId extends Object implements Named, Serializable
Identifiers for common CCPs are provided in CcpIds.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks if this identifier equals another identifier.
|
String |
getName()
Returns the code identifying the CCP.
|
int |
hashCode()
Returns a suitable hash code for the identifier.
|
static CcpId |
of(String name)
Obtains an identifier for the CCP.
|
String |
toString() |
public static CcpId of(String name)
name - the code identifying the CCPpublic String getName()
public boolean equals(Object obj)
The comparison checks the name.
public int hashCode()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.