/*
 *  The MIT License (MIT)
 *
 *  View the full license at:
 *  https://github.com/hendrixjoseph/FamilyTree/blob/master/LICENSE.md
 *
 *  Copyright (c) 2015 Joseph Hendrix
 *
 *  Hosted on GitHub at https://github.com/hendrixjoseph/FamilyTree
 *
 */

package edu.wright.hendrix11.familyTree.entity.event;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.NamedQuery;
import javax.persistence.TypedQuery;

/**
 * @author Joe Hendrix <hendrix.11@wright.edu>
 */
@Entity
@DiscriminatorValue(value = "death")
@NamedQuery(name = Death.FIND_ALL, query = "SELECT d FROM Death d")
public class Death extends SinglePersonEvent
{
    /**
     * Specifies the {@link String} that represents the {@link NamedQuery} to create a {@link TypedQuery} to get all
     * death records.
     */
    public static final String FIND_ALL = "Death.findAll";
}
@@ -816,16 +816,128 @@
 ecords.%0A
+     * %0A     * For example: %7B@code TypedQuery%3CDeath%3E query = em.createNamedQuery(Death.FIND_ALL, Death.class);%7D%0A
      */%0A
@@ -996,8 +996,9 @@
 dAll%22;%0A%7D
+%0A

Update Death.java