Package Models
Class Appointment
java.lang.Object
Models.Appointment
A class representing the Appointment object
-
Constructor Summary
ConstructorsConstructorDescriptionAppointment(int appointmentId, String title, String description, String location, String type, LocalDateTime start, LocalDateTime end, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdatedBy, int customerId, int userId, int contactId) Constructor method for the Appointment object -
Method Summary
Modifier and TypeMethodDescriptionintintintgetEnd()getStart()getTitle()getType()intvoidsetAppointmentId(int appointmentId) voidsetContactId(int contactId) voidsetCreateDate(LocalDateTime createDate) voidsetCreatedBy(String createdBy) voidsetCustomerId(int customerId) voidsetDescription(String description) voidsetEnd(LocalDateTime end) voidsetLastUpdate(LocalDateTime lastUpdate) voidsetLastUpdatedBy(String lastUpdatedBy) voidsetLocation(String location) voidsetStart(LocalDateTime start) voidvoidvoidsetUserId(int userId) toString()
-
Constructor Details
-
Appointment
public Appointment(int appointmentId, String title, String description, String location, String type, LocalDateTime start, LocalDateTime end, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdatedBy, int customerId, int userId, int contactId) Constructor method for the Appointment object- Parameters:
appointmentId- the appointmentId integer value to be set on the Appointment objecttitle- the title string value to be set on the Appointment objectdescription- the description string value to be set on the Appointment objectlocation- the location string value to be set on the Appointment objecttype- the type string value to be set on the Appointment objectstart- the start LocalDateTime value to be set on the Appointment objectend- the end LocalDateTime value to be set on the Appointment objectcreateDate- the createDate LocalDateTime value to be set on the Appointment objectcreatedBy- the createdBy string value to be set on the Appointment objectlastUpdate- the lastUpdate LocalDateTime value to be set on the Appointment objectlastUpdatedBy- the lastUpdatedBy string value to be set on the Appointment objectcustomerId- the customerId integer value to be set on the Appointment objectuserId- the userId integer value to be set on the Appointment objectcontactId- the contactId integer value to be set on the Appointment object
-
-
Method Details
-
getAppointmentId
public int getAppointmentId()- Returns:
- the appointmentId integer value on the Appointment object
-
getTitle
- Returns:
- the title string value on the Appointment object
-
getDescription
- Returns:
- the description string value on the Appointment object
-
getLocation
- Returns:
- the location string value on the Appointment object
-
getType
- Returns:
- the type string value on the Appointment object
-
getStart
- Returns:
- the start LocalDateTime value on the Appointment object
-
getEnd
- Returns:
- the end LocalDateTime value on the Appointment object
-
getCreateDate
- Returns:
- the createDate LocalDateTime value on the Appointment object
-
getCreatedBy
- Returns:
- the createdBy string value on the Appointment object
-
getLastUpdate
- Returns:
- the lastUpdate LocalDateTime value on the Appointment object
-
getLastUpdatedBy
- Returns:
- the lastUpdatedBy string value on the Appointment object
-
getCustomerId
public int getCustomerId()- Returns:
- the customerId integer value on the Appointment object
-
getUserId
public int getUserId()- Returns:
- the userId integer value on the Appointment object
-
getContactId
public int getContactId()- Returns:
- the contactId integer value on the Appointment object
-
setAppointmentId
public void setAppointmentId(int appointmentId) - Parameters:
appointmentId- the appointmentId integer value to be set on the Appointment object
-
setTitle
- Parameters:
title- the title string value to be set on the Appointment object
-
setDescription
- Parameters:
description- the description string value to be set on the Appointment object
-
setLocation
- Parameters:
location- the location string value to be set on the Appointment object
-
setType
- Parameters:
type- the type string value to be set on the Appointment object
-
setStart
- Parameters:
start- the start LocalDateTime value to be set on the Appointment object
-
setEnd
- Parameters:
end- the end LocalDateTime value to be set on the Appointment object
-
setCreateDate
- Parameters:
createDate- the createDate LocalDateTime value to be set on the Appointment object
-
setCreatedBy
- Parameters:
createdBy- the createdBy string value to be set on the Appointment object
-
setLastUpdate
- Parameters:
lastUpdate- the lastUpdate LocalDateTime value to be set on the Appointment object
-
setLastUpdatedBy
- Parameters:
lastUpdatedBy- the lastUpdatedBy string value to be set on the Appointment object
-
setCustomerId
public void setCustomerId(int customerId) - Parameters:
customerId- the customerId integer value to be set on the Appointment object
-
setUserId
public void setUserId(int userId) - Parameters:
userId- the userId integer value to be set on the Appointment object
-
setContactId
public void setContactId(int contactId) - Parameters:
contactId- the contactId integer value to be set on the Appointment object
-
toString
-