Class Chassis
java.lang.Object
domain.Component
domain.Chassis
Represents a chassis component in the system |
Représente un composant de type châssis dans le système.
- Author:
- FIGUEIRAS Jossua
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a Chassis instance using explicit values | Crée une instance Chassis à partir de valeurs explicites.Creates a Chassis instance from a SQL result set | Crée une instance Chassis à partir d'un résultat SQL. -
Method Summary
Modifier and TypeMethodDescriptionintgetSizeU()Returns the rack size of the chassis | Retourne la taille du châssis en unités de rack.Methods inherited from class Component
compareComponentById, getBrand, getById, getId, getMachineId, getModel, getTicketId, setTicketId, updateComponent, whoami
-
Constructor Details
-
Chassis
Creates a Chassis instance using explicit values | Crée une instance Chassis à partir de valeurs explicites.- Parameters:
id- the unique identifier of the chassis | l'identifiant unique du châssisbrand- the manufacturer brand | la marque du fabricantmodel- the model reference | la référence du modèlem- the identifier of the machine associated with this chassis | l'identifiant de la machine associée à ce châssistid- the type identifier of the component | l'identifiant du type de composantsizeU- the rack size in units (U) | la taille du châssis en unités de rack (U)
-
Chassis
Creates a Chassis instance from a SQL result set | Crée une instance Chassis à partir d'un résultat SQL.- Parameters:
result- the SQL result set containing chassis data | le résultat SQL contenant les données du châssis
-
-
Method Details
-
getSizeU
public int getSizeU()Returns the rack size of the chassis | Retourne la taille du châssis en unités de rack.- Returns:
- the rack size in U | la taille du châssis en U
-