/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* FenixEdu Academic is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with FenixEdu Academic. If not, see <http://www.gnu.org/licenses/>.
*/
package org.fenixedu.academic.ui.struts.action.BolonhaManager;
import java.io.Serializable;
import org.fenixedu.academic.domain.degreeStructure.BibliographicReferences.BibliographicReference;
import org.fenixedu.academic.domain.degreeStructure.BibliographicReferences.BibliographicReferenceType;
public class EditReferenceBean implements Serializable {
private String year;
private String title;
private String authors;
private String reference;
private String url;
private BibliographicReferenceType type;
private int order;
public EditReferenceBean(BibliographicReference bibliographicReference) {
year = bibliographicReference.getYear();
title = bibliographicReference.getTitle();
authors = bibliographicReference.getAuthors();
reference = bibliographicReference.getReference();
url = bibliographicReference.getUrl();
type = bibliographicReference.getType();
order = bibliographicReference.getOrder();
}
public String getAuthors() {
return authors;
}
public void setAuthors(String authors) {
this.authors = authors;
}
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public BibliographicReferenceType getType() {
return type;
}
public void setType(BibliographicReferenceType type) {
this.type = type;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getYear() {
return year;
}
public void setYear(String year) {
this.year = year;
}
public int getOrder() {
return order;
}
public void setOrder(int order) {
this.order = order;
}
}