|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.fix.validation.engine.utils.definitions.AbstractFIXDefinition<Msgdef> com.epam.fix.validation.engine.utils.definitions.MessageDefinitionsUtils
public final class MessageDefinitionsUtils
Constructor Summary | |
---|---|
MessageDefinitionsUtils(Dictionaries msgdefList)
Constructor MessageTypes creates a new MessageTypes instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageDefinitionsUtils(Dictionaries msgdefList)
msgdefList
- of type ListMethod Detail |
---|
public Set<String> getMessageTypes()
FixMessageDefinitions.getMessageTypes()
public List<Integer> getRequiredTags(List fieldList, BlockDefinitionsUtils blockDefinitionsUtils)
fieldList
- List of field,groups and blocksblockDefinitionsUtils
- Block definition util
public List<Integer> getRequiredTags(String messageType, BlockDefinitionsUtils blockDefinitionsUtils)
messageType
- Type of messageblockDefinitionsUtils
- Block definition util
MessageDefinitionsException
- if message does not existpublic Msgdef get(String messageType)
FixMessageDefinitions
messageType
- of type String
public 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 Type
public String getMessageTypeByName(String msgType)
msgType
- Name of message
MessageDefinitionsException
- if message does not exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |