Class RegulatoryID
- java.lang.Object
-
- com.caplin.motif.fx.trading.allocation.RegulatoryID
-
public class RegulatoryID extends java.lang.Object
Some systems provide a regulatory ID that is associated with an allocation.For swap allocations there may be two regulatory id's, a near regulatory ID and a far regulatory ID.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FAR_REGULATORY_ID
static java.lang.String
NEAR_REGULATORY_ID
-
Constructor Summary
Constructors Constructor Description RegulatoryID(PostTradeAllocation postTradeAllocation, java.lang.String nearRegulatoryId, java.lang.String farRegulatoryId)
Constructs a Regulatory ID using a PostTradeAllocation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getFields()
-
-
-
Field Detail
-
NEAR_REGULATORY_ID
public static final java.lang.String NEAR_REGULATORY_ID
- See Also:
- Constant Field Values
-
FAR_REGULATORY_ID
public static final java.lang.String FAR_REGULATORY_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RegulatoryID
public RegulatoryID(PostTradeAllocation postTradeAllocation, java.lang.String nearRegulatoryId, java.lang.String farRegulatoryId)
Constructs a Regulatory ID using a PostTradeAllocation.
For a SPOT or FORWARD allocation provide a nearRegulatoryId and null for farRegulatoryId
For a SWAP allocation provide both a nearRegulatoryId and farRegulatoryId
- Parameters:
postTradeAllocation
- The post trade allocation that has been allocatednearRegulatoryId
- The regulatory Id of the allocationfarRegulatoryId
- An additional regulatory id for a far leg, if the allocation was a SWAP
-
-