Class LabelHistory


  • public class LabelHistory
    extends java.lang.Object
    Container for history information about what happened to a label.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte ADD
      Label added.
      static byte REMOVE
      Label removed.
      static byte RENAME
      Label renamed.
    • Constructor Summary

      Constructors 
      Constructor Description
      LabelHistory​(Address addr, java.lang.String userName, byte actionID, java.lang.String labelStr, java.util.Date modificationDate)
      Construct a new LabelHistory object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte getActionID()
      Get the action ID for this label history object.
      Address getAddress()
      Get address for this label history object.
      java.lang.String getLabelString()
      Get the label string for this label history object.
      java.util.Date getModificationDate()
      Get the modification date
      java.lang.String getUserName()
      Get the user that made the change.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LabelHistory

        public LabelHistory​(Address addr,
                            java.lang.String userName,
                            byte actionID,
                            java.lang.String labelStr,
                            java.util.Date modificationDate)
        Construct a new LabelHistory object.
        Parameters:
        addr - address of the label change
        userName - name of user who made the change
        actionID - either ADD, REMOVE, or RENAME
        labelStr - label string
        modificationDate - date of the change
    • Method Detail

      • getAddress

        public Address getAddress()
        Get address for this label history object.
      • getUserName

        public java.lang.String getUserName()
        Get the user that made the change.
      • getLabelString

        public java.lang.String getLabelString()
        Get the label string for this label history object.
      • getActionID

        public byte getActionID()
        Get the action ID for this label history object.
        Returns:
        ADD, REMOVE, or RENAME
      • getModificationDate

        public java.util.Date getModificationDate()
        Get the modification date