@ManyToOne(targetEntity = DocumentData.class, cascade = {
        CascadeType.ALL
    })
    @JoinColumn(name = "DOCUMENT_DOCUMENT_STATUS_CON_0")
    public DocumentData getDocument() {
        return document;
    }
@ManyToOne(targetEntity = DocumentData.class, cascade = {
        CascadeType.ALL
    })
    @JoinColumn(name = "DOCUMENT_DOCUMENT_STATUS_CON_0")
    public DocumentData getDocument() {
        return document;
    }
@ ManyToOne ( targetEntity = DocumentData . class , cascade = { CascadeType . ALL } ) @ JoinColumn ( name = "DOCUMENT_DOCUMENT_STATUS_CON_0" ) public DocumentData getDocument ( ) { return document ; }
Gets the document.

@return the document
Gets the document .