Class Person
- java.lang.Object
-
- org.example.domain.boundaries.common.entities.Person
-
- Direct Known Subclasses:
Student,Teacher,Technician
public abstract class Person extends Object
-
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAge()booleanisParentsAuthorizationRequired()voidsendEmail(@NotEmpty String subject, @NotEmpty String text)static voidsendEmail(Set<Person> selection, @NotEmpty String subject, @NotEmpty String text)StringshowLastAccess()
-
-
-
Method Detail
-
getAge
public int getAge()
-
isParentsAuthorizationRequired
public boolean isParentsAuthorizationRequired()
-
sendEmail
public static void sendEmail(Set<Person> selection, @NotEmpty @NotEmpty String subject, @NotEmpty @NotEmpty String text)
-
sendEmail
public void sendEmail(@NotEmpty @NotEmpty String subject, @NotEmpty @NotEmpty String text)
-
showLastAccess
public String showLastAccess()
-
-