/*
 *  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 = "burial")
@NamedQuery(name = Burial.FIND_ALL, query = "SELECT b FROM Burial b")
public class Burial extends SinglePersonEvent
{
    /**
     * Specifies the {@link String} that represents the {@link NamedQuery} to create a {@link TypedQuery} to get all
     * burial records.
     * <p>
     * For example: {@code TypedQuery<Burial> query = em.createNamedQuery(Burial.FIND_ALL, Burial.class);}
     */
    public static final String FIND_ALL = "Burial.findAll";
}

@@ -852,16 +852,41 @@
 xample: 
+%0A     * %3Cblockquote%3E%3Cpre%3E
 %7B@code T
@@ -963,16 +963,35 @@
 class);%7D
+%3C/pre%3E%3C/blockquote%3E
 %0A     */

Update Burial.java