Interface Conflict

All Known Implementing Classes:
ConflictImpl

public interface Conflict
  • Method Details

    • getConflictingEvent1

      CalendarEvent getConflictingEvent1()
      Returns:
      one of the CalendarEvents that make up the conflict
    • getConflictingEvent2

      CalendarEvent getConflictingEvent2()
      Returns:
      one of the CalendarEvents that make up the conflict
    • getIntersectionStart

      DateTimeValue getIntersectionStart()
      Returns:
      the start date of the conflict.
    • getIntersectionEnd

      DateTimeValue getIntersectionEnd()
      Returns:
      the end date of the conflict
    • getType

      ConflictType getType()
      Returns:
      the conflict type
    • setType

      void setType(ConflictType type)
    • isAccepted

      boolean isAccepted()
    • getEntity

      @Nullable @Nullable Entity getEntity(@Nullable @Nullable Context ctx)
      Returns:
      the entity representing this conflict, either in conception state or with primary key. returns null if no entity has been created yet
    • getUniqueId

      String getUniqueId()
      Returns:
      the unique id of the conflict.