màj pour version initialeV2
This commit is contained in:
@@ -9,7 +9,7 @@ package com.mycompany.bibliotheque.Contrôle;
|
||||
* @author dthev
|
||||
*/
|
||||
public class LivreValide {
|
||||
// 1. ISBN : exactement 13 chiffres
|
||||
// 1. ISBN : exactement 13 chiffres
|
||||
public static boolean isValidIsbn(String isbn) {
|
||||
// TODO: implémenter la validation
|
||||
return false;
|
||||
@@ -27,9 +27,15 @@ public class LivreValide {
|
||||
return false;
|
||||
}
|
||||
|
||||
// 4. Titre : longueur maximale 200 caractères
|
||||
// 4. Titre : longueur maximale 200 caractères
|
||||
public static boolean isLongueurTitreValid(String titre) {
|
||||
// TODO: implémenter la validation
|
||||
return false;
|
||||
}
|
||||
|
||||
// 5. Titre : non null et au moins 2 caractères
|
||||
public static boolean isContenuTitreValide(String titre) {
|
||||
// TODO: implémenter la validation
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user