Class InformationEntry

java.lang.Object
jadex.micro.helpline.InformationEntry
All Implemented Interfaces:
Comparable

public class InformationEntry extends Object implements Comparable
Simple struct storing information about a person.
  • Field Details

    • name

      protected String name
      The person's name.
    • information

      protected String information
      The information.
    • date

      protected long date
      The date of the information.
  • Constructor Details

    • InformationEntry

      public InformationEntry()
      Create an entry.
    • InformationEntry

      public InformationEntry(String name, String information, long date)
      Create an entry.
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      the name.
    • setName

      public void setName(String name)
      Set the name.
      Parameters:
      name - The name to set.
    • getInformation

      public String getInformation()
      Get the information.
      Returns:
      The information.
    • setInformation

      public void setInformation(String information)
      Set the information.
      Parameters:
      information - The information to set.
    • getDate

      public long getDate()
      Get the date.
      Returns:
      The date.
    • setDate

      public void setDate(long date)
      Set the date.
      Parameters:
      date - The date to set.
    • hashCode

      public int hashCode()
      Get the hashcode.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Test if equal to another object.
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(Object o)
      Compare this entry to another one.
      Specified by:
      compareTo in interface Comparable