package eu.dnetlib.espas.gui.shared;

import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class RelatedParty implements IsSerializable {
	
	private boolean isValid = true; 
	private boolean deleted = false;

	private Party party;
	private Vocabulary role;
	
	private List<Extent> extents;
	
	public boolean isValid() {
		return isValid;
	}

	public void setValid(boolean isValid) {
		this.isValid = isValid;
	}
	
	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

	public Party getParty() {
		return party;
	}

	public void setParty(Party party) {
		this.party = party;
	}

	public Vocabulary getRole() {
		return role;
	}

	public void setRole(Vocabulary role) {
		this.role = role;
	}

	public List<Extent> getExtents() {
		return extents;
	}

	public void setExtents(List<Extent> extents) {
		this.extents = extents;
	}
}
