Healthcare Portal
 
Loading...
Searching...
No Matches
com.hospital.portal.model.Specialty Class Reference

Public Member Functions

 Specialty ()
 
 Specialty (String name, String description)
 
String getName ()
 
void setName (String name)
 
String getDescription ()
 
void setDescription (String description)
 
String toString ()
 

Detailed Description

Represents a specialty in the hospital portal system.

This class is mapped to the "specialties" table in the database.

Constructor & Destructor Documentation

◆ Specialty() [1/2]

com.hospital.portal.model.Specialty.Specialty ( )
inline

Default constructor for JPA.

◆ Specialty() [2/2]

com.hospital.portal.model.Specialty.Specialty ( String  name,
String  description 
)
inline

Constructs a Specialty with the specified name and description.

Parameters
namethe name of the specialty
descriptionthe description of the specialty

Member Function Documentation

◆ getDescription()

String com.hospital.portal.model.Specialty.getDescription ( )
inline

◆ getName()

String com.hospital.portal.model.Specialty.getName ( )
inline

◆ setDescription()

void com.hospital.portal.model.Specialty.setDescription ( String  description)
inline

◆ setName()

void com.hospital.portal.model.Specialty.setName ( String  name)
inline

◆ toString()

String com.hospital.portal.model.Specialty.toString ( )
inline

Returns a string representation of the Specialty.

Returns
a string representation of the Specialty

The documentation for this class was generated from the following file: