Class Event

All Implemented Interfaces:
Serializable, Cloneable

public class Event extends DataBaseObject
The Class Event.
See Also:
  • Field Details

    • ACT_ID

      protected long ACT_ID
      The act id.
    • EVE_ACTION

      protected String EVE_ACTION
      The eve action.
    • EVE_COMMENT

      protected String EVE_COMMENT
      The eve comment.
    • EVE_DATE

      protected Date EVE_DATE
      The eve date.
    • EVE_ERROR

      protected boolean EVE_ERROR
      The eve error.
    • EVE_ID

      protected long EVE_ID
      The eve id.
    • EVE_TIME

      protected Time EVE_TIME
      The eve time.
    • activity

      protected Activity activity
      The activity.
  • Constructor Details

    • Event

      public Event()
      Instantiates a new event.
    • Event

      public Event(long id)
      Instantiates a new event.
      Parameters:
      id - the id
    • Event

      public Event(String id)
      Instantiates a new event.
      Parameters:
      id - the id
  • Method Details

    • getActivityId

      public long getActivityId()
      Gets the activity id.
      Returns:
      the activity id
    • setActivityId

      public void setActivityId(long param)
      Sets the activity id.
      Parameters:
      param - the new activity id
    • setActivityId

      public void setActivityId(String param)
      Sets the activity id.
      Parameters:
      param - the new activity id
    • getAction

      public String getAction()
      Gets the action.
      Returns:
      the action
    • setAction

      public void setAction(String param)
      Sets the action.
      Parameters:
      param - the new action
    • getComment

      public String getComment()
      Gets the comment.
      Returns:
      the comment
    • setComment

      public void setComment(String param)
      Sets the comment.
      Parameters:
      param - the new comment
    • getDate

      public Date getDate()
      Gets the date.
      Returns:
      the date
    • setDate

      public void setDate(Date param)
      Sets the date.
      Parameters:
      param - the new date
    • getError

      public boolean getError()
      Gets the error.
      Returns:
      the error
    • setError

      public void setError(boolean param)
      Sets the error.
      Parameters:
      param - the new error
    • setError

      public void setError(String param)
      Sets the error.
      Parameters:
      param - the new error
    • getId

      public long getId()
      Gets the id.
      Returns:
      the id
    • setId

      public void setId(long param)
      Sets the id.
      Parameters:
      param - the new id
    • setId

      public void setId(String param)
      Sets the id.
      Parameters:
      param - the new id
    • getTime

      public Time getTime()
      Gets the time.
      Returns:
      the time
    • setTime

      public void setTime(Time param)
      Sets the time.
      Parameters:
      param - the new time
    • getActivity

      public Activity getActivity()
      Gets the activity.
      Returns:
      the activity
    • setActivity

      public void setActivity(Activity param)
      Sets the activity.
      Parameters:
      param - the new activity
    • hashCode

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

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object