Class LeggedMessageChild

    • Constructor Summary

      Constructors 
      Constructor Description
      LeggedMessageChild​(int legId, java.util.Map<java.lang.String,​java.lang.String> fields)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getFields()  
      java.lang.Integer getId()
      Get the id of this leg, or null if this is the root
      java.lang.Integer getIndex()
      Get the index of this leg, or null if this is the root
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.caplin.motif.datasource.Message

        getField
    • Constructor Detail

      • LeggedMessageChild

        public LeggedMessageChild​(int legId,
                                  java.util.Map<java.lang.String,​java.lang.String> fields)
    • Method Detail

      • getId

        public java.lang.Integer getId()
        Description copied from interface: LeggedMessage
        Get the id of this leg, or null if this is the root
        Specified by:
        getId in interface LeggedMessage
        Returns:
        Id
      • getIndex

        public java.lang.Integer getIndex()
        Description copied from interface: LeggedMessage
        Get the index of this leg, or null if this is the root
        Specified by:
        getIndex in interface LeggedMessage
        Returns:
        Index
      • getFields

        public java.util.Map<java.lang.String,​java.lang.String> getFields()
        Specified by:
        getFields in interface Message