Class AppointmentFormResourceType
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.resource.business.AppointmentFormResourceType
- All Implemented Interfaces:
Serializable
Class to describe an association between an appointment form and a resource type
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description of the the appointment form resource typeintgetId()Get the id of the appointment form resource typeintGet the id of the appointment formbooleanCheck if this resource should be bound to the admin user id property of the appointment or notbooleanCheck if this resource defines the location of the appointmentGet the resource type namevoidsetDescription(String strDescription) Set the description of the the appointment form resource typevoidsetId(int nId) Set the id of the appointment form resource typevoidsetIdAppointmentForm(int nIdAppointmentForm) Set the id of the appointment formvoidsetIsAppointmentAdminUser(boolean bIsAppointmentAdminUser) Set whether this resource should be bound to the admin user id property of the appointmentvoidsetIsLocation(boolean bIsLocation) Set whether this resource defines the location of the appointmentvoidsetResourceTypeName(String strResourceTypeName) Set the resource type name
-
Constructor Details
-
AppointmentFormResourceType
public AppointmentFormResourceType()
-
-
Method Details
-
getId
public int getId()Get the id of the appointment form resource type- Returns:
- The id of the appointment form resource type
-
setId
public void setId(int nId) Set the id of the appointment form resource type- Parameters:
nId- The id of the appointment form resource type
-
getIdAppointmentForm
public int getIdAppointmentForm()Get the id of the appointment form- Returns:
- The id of the appointment form
-
setIdAppointmentForm
public void setIdAppointmentForm(int nIdAppointmentForm) Set the id of the appointment form- Parameters:
nIdAppointmentForm- The id of the appointment form
-
getDescription
Get the description of the the appointment form resource type- Returns:
- The description of the the appointment form resource type
-
setDescription
Set the description of the the appointment form resource type- Parameters:
strDescription- The description of the the appointment form resource type
-
getResourceTypeName
Get the resource type name- Returns:
- The resource type name
-
setResourceTypeName
Set the resource type name- Parameters:
strResourceTypeName- The resource type name
-
getIsAppointmentAdminUser
public boolean getIsAppointmentAdminUser()Check if this resource should be bound to the admin user id property of the appointment or not- Returns:
- True if this resource should be bound to the admin user id property of the appointment, false otherwise
-
setIsAppointmentAdminUser
public void setIsAppointmentAdminUser(boolean bIsAppointmentAdminUser) Set whether this resource should be bound to the admin user id property of the appointment- Parameters:
bIsAppointmentAdminUser- True if this resource should be bound to the admin user id property of the appointment, false otherwise
-
getIsLocation
public boolean getIsLocation()Check if this resource defines the location of the appointment- Returns:
- True if this resource defines the location of the appointment
-
setIsLocation
public void setIsLocation(boolean bIsLocation) Set whether this resource defines the location of the appointment- Parameters:
bIsLocation- True if this resource defines the location of the appointment, false otherwise
-