Class LegacyTxnTags.TxnTag

  • All Implemented Interfaces:
    java.lang.Comparable
    Enclosing class:
    LegacyTxnTags

    public static class LegacyTxnTags.TxnTag
    extends java.lang.Object
    implements java.lang.Comparable
    A TxnClass represents a classification or 'class' that can be applied to a split. This class is only available as of build 414
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TAG_PARAM_PREFIX  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object obj)  
      boolean equals​(java.lang.Object obj)  
      java.lang.String getID()
      Return the ID of this tag.
      java.lang.String getName()
      Get the name of this tag
      int hashCode()  
      void setName​(java.lang.String newName)
      Change the name of this TxnTag
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • TAG_PARAM_PREFIX

        public static final java.lang.String TAG_PARAM_PREFIX
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name of this tag
      • getID

        public java.lang.String getID()
        Return the ID of this tag.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setName

        public void setName​(java.lang.String newName)
        Change the name of this TxnTag
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • compareTo

        public int compareTo​(java.lang.Object obj)
        Specified by:
        compareTo in interface java.lang.Comparable