java.lang.Object
com.blackhillsoftware.smf.cics.monitoring.Dictionary

public class Dictionary extends Object
CICS Monitoring Dictionary - a collection of Dictionary Entries.
  • Method Details

    • create

      public static Dictionary create(List<DictionaryEntry> dictionaryEntries, CicsInstanceId cicsInstance)
      Create a dictionary for CICS Monitoring entries.

      Not normally called from user code - use Smf110Record.dictionaryEntries() to get the Dictionary.

      Parameters:
      dictionaryEntries - a list of DictionaryEntry
      Returns:
      Dictionary a new dictionary.
    • getEntryByConnector

      public DictionaryEntry getEntryByConnector(Integer connectorValue)
      Get a Dictionary Entry for a field connector value
      Parameters:
      connectorValue - the connector value
      Returns:
      DictionaryEntry the dictionary entry for the connector value
    • getEntryByIdentifier

      public DictionaryEntry getEntryByIdentifier(String owner, String identifier)
      Get a Dictionary Entry for a field identifier
      Parameters:
      owner - the owner of the field e.g. "DFHTASK"
      identifier - the 4 character identifier for the field including type e.g. "C001"
      Returns:
      DictionaryEntry the dictionary entry for the field
    • haveEntry

      public boolean haveEntry(MonitoringField field)
      Check whether we have a Dictionary Entry for a field identifier
      Parameters:
      field - a field (ClockField, CountField etc.)
      Returns:
      boolean true if there is a dictionary entry for the field
      See Also:
    • getEntry

      public DictionaryEntry getEntry(MonitoringField field)
      Get a Dictionary Entry for a field identifier
      Parameters:
      field - a field (ClockField, CountField etc.)
      Returns:
      DictionaryEntry the dictionary entry for the field
      See Also:
    • entries

      public List<DictionaryEntry> entries()
      The list of entries in this Dictionary
      Returns:
      List<DictionaryEntry> the list of entries
    • Entries

      @Deprecated public List<DictionaryEntry> Entries()
      Deprecated.
      replaced by entries() to conform to naming conventions re capitalization
      The list of entries in this Dictionary
      Returns:
      List<DictionaryEntry> the list of entries
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getCicsInstance

      public CicsInstanceId getCicsInstance()