com.opengamma.sdk.margin.MarginOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-margin Show documentation
Show all versions of sdk-margin Show documentation
OpenGamma SDK - Provides access to the Margin service
/*
* Copyright (C) 2017 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.sdk.margin;
/**
* Provides a list of Margin Service operations available in the SDK
*/
public enum MarginOperation {
/** List CCPs operation */
LIST_CCPS("List CCPs"),
/** Get CCPs information operation */
GET_CCP_INFO("Get CCP Information"),
/** Create calculation operation */
CREATE_CALCULATION("Create calculation"),
/** Get calculation operation */
GET_CALCULATION("Get calculation"),
/** Delete calculation operation */
DELETE_CALCULATION("Delete calculation");
/**
* Provides a user-readable name of the Margin Service operation
*/
private final String description;
// creates an instance
private MarginOperation(String description) {
this.description = description;
}
String getDescription() {
return description;
}
}