Class BlockDefinitionsUtils
java.lang.Object
com.epam.fix.validation.engine.utils.definitions.AbstractFIXDefinition<Blockdef>
com.epam.fix.validation.engine.utils.definitions.BlockDefinitionsUtils
- All Implemented Interfaces:
FixMessageDefinitions<Blockdef>
- Author:
- Serhiy_Zahriychuk Date: Sep 9, 2008
-
Constructor Summary
ConstructorsConstructorDescriptionBlockDefinitionsUtils
(com.epam.fix.dictionary.Dictionaries dictionariesContainer) Creates theBlockDefinitionsUtils
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if block with name blockName exists.get()
Gets the collection of block.Gets the block.Gets set of blockgetRequiredTags
(String blockName) Gets required tags for message.void
Puts the blocks to the map.
-
Constructor Details
-
BlockDefinitionsUtils
public BlockDefinitionsUtils(com.epam.fix.dictionary.Dictionaries dictionariesContainer) Creates theBlockDefinitionsUtils
.- Parameters:
dictionariesContainer
- the dictionary
-
-
Method Details
-
getMessageTypes
Gets set of block- Returns:
- the messageTypes (type Set
) of this FixDefMap object.
-
getRequiredTags
Gets required tags for message.- Parameters:
blockName
- the block name
-
put
Puts the blocks to the map.- Parameters:
blocks
- the block collection
-
get
Gets the collection of block.- Returns:
- the messageDefs (type Collection
) of this MessageTypes object.
-
get
Gets the block.- Parameters:
blockName
- the block name- Returns:
- instance of T
-
contains
Checks if block with name blockName exists.- Parameters:
blockName
- the block name- Returns:
- boolean true if contains
-