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>

public final class BlockDefinitionsUtils extends AbstractFIXDefinition<Blockdef>
Author:
Serhiy_Zahriychuk Date: Sep 9, 2008
  • Constructor Details

    • BlockDefinitionsUtils

      public BlockDefinitionsUtils(com.epam.fix.dictionary.Dictionaries dictionariesContainer)
      Creates the BlockDefinitionsUtils.
      Parameters:
      dictionariesContainer - the dictionary
  • Method Details

    • getMessageTypes

      public Set<String> getMessageTypes()
      Gets set of block
      Returns:
      the messageTypes (type Set) of this FixDefMap object.
    • getRequiredTags

      public List<Integer> getRequiredTags(String blockName)
      Gets required tags for message.
      Parameters:
      blockName - the block name
    • put

      public void put(List blocks)
      Puts the blocks to the map.
      Parameters:
      blocks - the block collection
    • get

      public Collection<Blockdef> get()
      Gets the collection of block.
      Returns:
      the messageDefs (type Collection) of this MessageTypes object.
    • get

      public Blockdef get(String blockName)
      Gets the block.
      Parameters:
      blockName - the block name
      Returns:
      instance of T
    • contains

      public boolean contains(String blockName)
      Checks if block with name blockName exists.
      Parameters:
      blockName - the block name
      Returns:
      boolean true if contains