org.fudgemsg
Interface ImmutableFudgeFieldContainer

All Superinterfaces:
FudgeFieldContainer, Iterable<FudgeField>
All Known Implementing Classes:
ImmutableFudgeMsg

public interface ImmutableFudgeFieldContainer
extends FudgeFieldContainer

A container of Fudge fields that should be effectively immutable.

The Fudge specification is built around messages containing a list of fields. This interface provides the high-level representation of the list of fields.

Each field may be referenced by a name or by an ordinal. All four combinations are possible - from both present to both absent. Methods provide the ability to lookup a field by both name or ordinal.

Applications working with messages should use this interface rather than FudgeMsg directly where possible for flexibility.

This interface intends implementations to be immutable however it should be thought of as read-only following construction.


Method Summary
 
Methods inherited from interface org.fudgemsg.FudgeFieldContainer
getAllByName, getAllByOrdinal, getAllFieldNames, getAllFields, getBoolean, getBoolean, getByIndex, getByName, getByOrdinal, getByte, getByte, getDouble, getDouble, getFieldValue, getFloat, getFloat, getInt, getInt, getLong, getLong, getMessage, getMessage, getNumFields, getShort, getShort, getString, getString, getValue, getValue, getValue, getValue, hasField, hasField, isEmpty, iterator
 



Copyright 2009-Present by OpenGamma Inc. and individual contributors
Released under the Apache License, Version 2.0