Package com.caplin.motif.fx.trading
Class FieldNameUtil
- java.lang.Object
-
- com.caplin.motif.fx.trading.FieldNameUtil
-
public final class FieldNameUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.regex.Pattern
LEG_FIELD_PATTERN
-
Constructor Summary
Constructors Constructor Description FieldNameUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getLegFieldName(int legId, java.lang.String fieldName)
static java.lang.String
getLegFieldName(java.lang.String legId, java.lang.String fieldName)
static java.lang.String
getNearFarLegFieldName(java.lang.String legId, LegType legType, java.lang.String fieldName)
-
-
-
Method Detail
-
getLegFieldName
public static java.lang.String getLegFieldName(int legId, java.lang.String fieldName)
-
getLegFieldName
public static java.lang.String getLegFieldName(java.lang.String legId, java.lang.String fieldName)
-
getNearFarLegFieldName
public static java.lang.String getNearFarLegFieldName(java.lang.String legId, LegType legType, java.lang.String fieldName)
-
-