An update on a fixed date of an event (SingleEvent). More...

Public Member Functions | |
| SingleEventUpdate (SingleEvent updatedSingleEvent, int oldSingleEventID, Date updateDate, String creatorName, String comment) | |
| Create a new SingleEventUpdate.  More... | |
| SingleEventUpdate (SingleEvent newSingleEvent, Date updateDate, String comment) | |
| Create a SingleEventUpdate that is a creation of a SingleEvent.  More... | |
| SingleEventUpdate (int oldSingleEventID, Date updateDate, String comment) | |
| Create a SingleEventUpdate that is a cancellation of a SingleEvent.  More... | |
| SingleEvent | getUpdatedSingleEvent () | 
| Get the updated SingleEvent or null if the SingleEvent was cancelled.  More... | |
| int | getOldSingleEventID () | 
| Get the ID of the SingleEvent that was updated and replaced by the new one.  More... | |
| Date | getUpdateDate () | 
| Get the date of when the update was submitted.  More... | |
| String | getCreatorName () | 
| Get the name of the person who created the update.  More... | |
| String | getComment () | 
| Get the comment the creator of the update added to give further information.  More... | |
| boolean | isSingleEventCreation () | 
| Check whether this update stands for a creation of a SingleEvent.  More... | |
| boolean | isCancellation () | 
| Check Check whether this update stands for a cancellation of a SingleEvent.  More... | |
An update on a fixed date of an event (SingleEvent).
| unicopa.copa.base.event.SingleEventUpdate.SingleEventUpdate | ( | SingleEvent | updatedSingleEvent, | 
| int | oldSingleEventID, | ||
| Date | updateDate, | ||
| String | creatorName, | ||
| String | comment | ||
| ) | 
Create a new SingleEventUpdate.
If the update should be a creation or cancellation of a SingleEvent, use the correspondent constructors.
| updatedSingleEvent | the new version of the SingleEvent, or null if the update should be a cancellation of the former SingleEvent | 
| oldSingleEventID | the ID of the SingleEvent that should be updated, or 0 if this update should be a creation of a SingleEvent | 
| updateDate | the date of the update | 
| creatorName | the name of the person who introduced the update | 
| comment | a text to describe the update | 
| unicopa.copa.base.event.SingleEventUpdate.SingleEventUpdate | ( | SingleEvent | newSingleEvent, | 
| Date | updateDate, | ||
| String | comment | ||
| ) | 
Create a SingleEventUpdate that is a creation of a SingleEvent.
| newSingleEvent | the SingleEvent to be added to the event | 
| updateDate | the date of the update | 
| comment | a text to describe the reason for the action or give further information | 
| unicopa.copa.base.event.SingleEventUpdate.SingleEventUpdate | ( | int | oldSingleEventID, | 
| Date | updateDate, | ||
| String | comment | ||
| ) | 
Create a SingleEventUpdate that is a cancellation of a SingleEvent.
| oldSingleEventID | the ID of the SingleEvent to be cancelled | 
| updateDate | the date of the update | 
| comment | a text to describe the reason for the action or give further information | 
| String unicopa.copa.base.event.SingleEventUpdate.getComment | ( | ) | 
Get the comment the creator of the update added to give further information.
| String unicopa.copa.base.event.SingleEventUpdate.getCreatorName | ( | ) | 
Get the name of the person who created the update.
| int unicopa.copa.base.event.SingleEventUpdate.getOldSingleEventID | ( | ) | 
Get the ID of the SingleEvent that was updated and replaced by the new one.
| Date unicopa.copa.base.event.SingleEventUpdate.getUpdateDate | ( | ) | 
Get the date of when the update was submitted.
| SingleEvent unicopa.copa.base.event.SingleEventUpdate.getUpdatedSingleEvent | ( | ) | 
Get the updated SingleEvent or null if the SingleEvent was cancelled.
Compare attributes to the old object to see changes.
| boolean unicopa.copa.base.event.SingleEventUpdate.isCancellation | ( | ) | 
Check Check whether this update stands for a cancellation of a SingleEvent.
| boolean unicopa.copa.base.event.SingleEventUpdate.isSingleEventCreation | ( | ) | 
Check whether this update stands for a creation of a SingleEvent.
 1.8.4