public void addHistory(History history) {
        if (getHistoryList() == null) {
            setHistoryList(new ArrayList<>());
        }
        getHistoryList().add(history);
    }
public void addHistory(History history) {
        if (getHistoryList() == null) {
            setHistoryList(new ArrayList<>());
        }
        getHistoryList().add(history);
    }
public void addHistory ( History history ) { if ( getHistoryList ( ) == null ) { setHistoryList ( new ArrayList <> ( ) ) ; } getHistoryList ( ) . add ( history ) ; }
Add history to this entity.

@param history History to add.
Add history to this entity .