コード例 #1
0
 public static void fromFudgeMsg(
     FudgeDeserializer deserializer, FudgeMsg msg, EnergyFutureSecurity object) {
   CommodityFutureSecurityFudgeBuilder.fromFudgeMsg(deserializer, msg, object);
   object.setUnderlyingId(
       ExternalIdFudgeBuilder.fromFudgeMsg(
           deserializer, msg.getMessage(UNDERLYING_IDENTIFIER_FIELD_NAME)));
 }
コード例 #2
0
 public static void toFudgeMsg(
     FudgeSerializer serializer, EnergyFutureSecurity object, final MutableFudgeMsg msg) {
   CommodityFutureSecurityFudgeBuilder.toFudgeMsg(serializer, object, msg);
   addToMessage(
       msg,
       UNDERLYING_IDENTIFIER_FIELD_NAME,
       ExternalIdFudgeBuilder.toFudgeMsg(serializer, object.getUnderlyingId()));
 }