public final class MessageDefinitionsUtils extends AbstractFIXDefinition<Msgdef>
Constructor and Description |
---|
MessageDefinitionsUtils(com.epam.fix.dictionary.Dictionaries msgdefList)
Constructor MessageTypes creates a new MessageTypes instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String messageType)
Checks if contains input message type in dictionary of FIX protocol
|
Collection<Msgdef> |
get()
Returns the collection of values of this Map.
|
Msgdef |
get(String messageType)
Gets element from map by key
|
String |
getMessageTypeByName(String msgType)
Method returns messageType by name of message
|
Set<String> |
getMessageTypes()
Method getMessageTypes
|
List<Integer> |
getRequiredTags(List fieldList,
BlockDefinitionsUtils blockDefinitionsUtils)
Method getRequiredTag returns the requiredTag of this FixDefMap object.
|
List<Integer> |
getRequiredTags(String messageType,
BlockDefinitionsUtils blockDefinitionsUtils)
Method getRequiredTag returns the requiredTag of this FixDefMap object.
|
boolean |
isMessageTypeExist(String messageType) |
void |
put(List t)
Puts the element into map.
|
public MessageDefinitionsUtils(com.epam.fix.dictionary.Dictionaries msgdefList)
msgdefList
- of type Listpublic Set<String> getMessageTypes()
FixMessageDefinitions.getMessageTypes()
public List<Integer> getRequiredTags(List fieldList, BlockDefinitionsUtils blockDefinitionsUtils)
fieldList
- List of field,groups and blocksblockDefinitionsUtils
- Block definition utilpublic List<Integer> getRequiredTags(String messageType, BlockDefinitionsUtils blockDefinitionsUtils)
messageType
- Type of messageblockDefinitionsUtils
- Block definition utilMessageDefinitionsException
- if message does not existpublic Msgdef get(String messageType)
FixMessageDefinitions
messageType
- of type Stringpublic boolean isMessageTypeExist(String messageType)
public void put(List t)
FixMessageDefinitions
t
- the list of elementspublic Collection<Msgdef> get()
FixMessageDefinitions
public boolean contains(String messageType)
FixMessageDefinitions
messageType
- Message Typepublic String getMessageTypeByName(String msgType)
msgType
- Name of messageMessageDefinitionsException
- if message does not existCopyright © 2000–2022 EPAM Systems. All rights reserved.