test_class.file: guest/src/test/java/org/koenighotze/jee7hotel/guest/domain/GuestTest.java
test_class.identifier: GuestTest
test_class.superclass: extends AbstractBasePersistenceTest
test_case.body: @Test
      public void persisting_a_guest_sets_the_last_update_field() {
          Guest guest = new Guest("", "", "");
  
          new Audit().setAuditFields(guest);
  
          assertThat(guest.getLastUpdate()).isNotNull();
      }
test_case.class_method_signature: GuestTest.persisting_a_guest_sets_the_last_update_field()
test_case.full_signature: @Test public void persisting_a_guest_sets_the_last_update_field()
test_case.identifier: persisting_a_guest_sets_the_last_update_field
test_case.invocations: setAuditFields isNotNull assertThat getLastUpdate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void persisting_a_guest_sets_the_last_update_field()
focal_class.declarator: GUEST_FIND_BY_PUBLIC_ID = "Guest.findByPublicId"
focal_class.modifier: public static final
focal_class.original_string: public static final String GUEST_FIND_BY_PUBLIC_ID = "Guest.findByPublicId";
focal_class.type: String
focal_class.var_name: GUEST_FIND_BY_PUBLIC_ID
focal_class.declarator: GUEST_FIND_BY_NAME = "Guest.findByName"
focal_class.modifier: public static final
focal_class.original_string: public static final String GUEST_FIND_BY_NAME = "Guest.findByName";
focal_class.type: String
focal_class.var_name: GUEST_FIND_BY_NAME
focal_class.declarator: id
focal_class.modifier: @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY)
      private
focal_class.original_string: @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY)
      private Long id;
focal_class.type: Long
focal_class.var_name: id
focal_class.declarator: version
focal_class.modifier: @Version
      private
focal_class.original_string: @Version
      private Long version;
focal_class.type: Long
focal_class.var_name: version
focal_class.declarator: name
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: email
focal_class.modifier: private
focal_class.original_string: private String email;
focal_class.type: String
focal_class.var_name: email
focal_class.declarator: publicId
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private String publicId;
focal_class.type: String
focal_class.var_name: publicId
focal_class.declarator: lastUpdateTimestamp
focal_class.modifier: @Auditable
      @Temporal(TemporalType.TIMESTAMP)
      @XmlJavaTypeAdapter(DateAdapter.class)
      private
focal_class.original_string: @Auditable
      @Temporal(TemporalType.TIMESTAMP)
      @XmlJavaTypeAdapter(DateAdapter.class)
      private Date lastUpdateTimestamp;
focal_class.type: Date
focal_class.var_name: lastUpdateTimestamp
focal_class.file: guest/src/main/java/org/koenighotze/jee7hotel/guest/domain/Guest.java
focal_class.identifier: Guest
focal_class.interfaces: implements Serializable
focal_class.class_method_signature: Guest.Guest()
focal_class.full_signature: public  Guest()
focal_class.identifier: Guest
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Guest()
focal_class.class_method_signature: Guest.Guest(@NotNull String publicId, @NotNull String name, String email)
focal_class.full_signature: public  Guest(@NotNull String publicId, @NotNull String name, String email)
focal_class.identifier: Guest
focal_class.modifiers: public
focal_class.parameters: (@NotNull String publicId, @NotNull String name, String email)
focal_class.signature:  Guest(@NotNull String publicId, @NotNull String name, String email)
focal_class.class_method_signature: Guest.getPublicId()
focal_class.full_signature: public String getPublicId()
focal_class.identifier: getPublicId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPublicId()
focal_class.class_method_signature: Guest.setPublicId(String publicId)
focal_class.full_signature: public void setPublicId(String publicId)
focal_class.identifier: setPublicId
focal_class.modifiers: public
focal_class.parameters: (String publicId)
focal_class.return: void
focal_class.signature: void setPublicId(String publicId)
focal_class.class_method_signature: Guest.getName()
focal_class.full_signature: public String getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: Guest.setName(String name)
focal_class.full_signature: public void setName(String name)
focal_class.identifier: setName
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void setName(String name)
focal_class.class_method_signature: Guest.getEmail()
focal_class.full_signature: public String getEmail()
focal_class.identifier: getEmail
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getEmail()
focal_class.class_method_signature: Guest.setEmail(String email)
focal_class.full_signature: public void setEmail(String email)
focal_class.identifier: setEmail
focal_class.modifiers: public
focal_class.parameters: (String email)
focal_class.return: void
focal_class.signature: void setEmail(String email)
focal_class.class_method_signature: Guest.getId()
focal_class.full_signature: public Long getId()
focal_class.identifier: getId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long getId()
focal_class.class_method_signature: Guest.setId(Long id)
focal_class.full_signature: public void setId(Long id)
focal_class.identifier: setId
focal_class.modifiers: public
focal_class.parameters: (Long id)
focal_class.return: void
focal_class.signature: void setId(Long id)
focal_class.class_method_signature: Guest.getVersion()
focal_class.full_signature: public Long getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long getVersion()
focal_class.class_method_signature: Guest.setVersion(Long version)
focal_class.full_signature: public void setVersion(Long version)
focal_class.identifier: setVersion
focal_class.modifiers: public
focal_class.parameters: (Long version)
focal_class.return: void
focal_class.signature: void setVersion(Long version)
focal_class.class_method_signature: Guest.getLastUpdate()
focal_class.full_signature: @XmlTransient @Transient public LocalDateTime getLastUpdate()
focal_class.identifier: getLastUpdate
focal_class.modifiers: @XmlTransient @Transient public
focal_class.parameters: ()
focal_class.return: LocalDateTime
focal_class.signature: LocalDateTime getLastUpdate()
focal_class.class_method_signature: Guest.setLastUpdate(LocalDateTime lastUpdate)
focal_class.full_signature: public void setLastUpdate(LocalDateTime lastUpdate)
focal_class.identifier: setLastUpdate
focal_class.modifiers: public
focal_class.parameters: (LocalDateTime lastUpdate)
focal_class.return: void
focal_class.signature: void setLastUpdate(LocalDateTime lastUpdate)
focal_class.class_method_signature: Guest.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Guest.nullGuest()
focal_class.full_signature: public static Guest nullGuest()
focal_class.identifier: nullGuest
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Guest
focal_class.signature: Guest nullGuest()
focal_method.body: @XmlTransient
      @Transient
      public LocalDateTime getLastUpdate() {
          if (null == lastUpdateTimestamp) {
              return null;
          }
          return LocalDateTime.from(lastUpdateTimestamp.toInstant().atZone(of(UTC.getId())));
      }
focal_method.class_method_signature: Guest.getLastUpdate()
focal_method.full_signature: @XmlTransient @Transient public LocalDateTime getLastUpdate()
focal_method.identifier: getLastUpdate
focal_method.invocations: from atZone toInstant of getId
focal_method.modifiers: @XmlTransient @Transient public
focal_method.parameters: ()
focal_method.return: LocalDateTime
focal_method.signature: LocalDateTime getLastUpdate()