Class ActorMetadata
java.lang.Object
de.gustavblass.fsu.fmi.roombooking.model.actor.ActorMetadata
Additional information on a specific
Actor's account that is not stored in the actual Actor object.- Implementation Note:
- There is no actual reference to the Actor, since such a bidirectional relationship would result in a deadlock when trying to delete the Actor or the ActorMetadata.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LocalDateTimeWhen theActorsigned up or when their account was created.private LongIdentifies theseActorMetadatauniquely.private LocalDateTimeThe last time the correspondingActorauthenticated (successfully) with the system. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull Optional<LocalDateTime> @NonNull Optional<LocalDateTime>
-
Field Details
-
id
Identifies theseActorMetadatauniquely. -
createdAt
When theActorsigned up or when their account was created. -
lastLogin
The last time the correspondingActorauthenticated (successfully) with the system.
-
-
Constructor Details
-
ActorMetadata
public ActorMetadata()
-
-
Method Details