package lexicon;

public class VerbReadjustmentRule {
	String suffixToAdd;
	String suffixToDelete;
	String[] constraints;
	String perfectiveConstraint;
	String typeConstraint;
	String morphAnalysis;
	
	public VerbReadjustmentRule(String suffixToAdd, String suffixToDelete, String[] constraints, String perfectiveConstraint, String typeConstraint, String morphAnalysis) {		
		this.suffixToAdd = suffixToAdd;
		this.suffixToDelete = suffixToDelete;
		this.constraints = constraints;
		this.perfectiveConstraint = perfectiveConstraint;
		this.typeConstraint = typeConstraint;
		this.morphAnalysis = morphAnalysis;
	}
	
	public VerbReadjustmentRule(String suffixToAdd, String suffixToDelete, String perfectiveConstraint, String typeConstraint, String morphAnalysis) {		
		this.suffixToAdd = suffixToAdd;
		this.suffixToDelete = suffixToDelete;
		this.constraints = new String[1];
		this.constraints[0] = "";
		this.perfectiveConstraint = perfectiveConstraint;
		this.typeConstraint = typeConstraint;
		this.morphAnalysis = morphAnalysis;
	}
	
	
	public VerbReadjustmentRule() {		
		this.suffixToAdd = "";
		this.suffixToDelete = "";
		//this.constraints = constraints;
		this.perfectiveConstraint = "";
		this.typeConstraint = "";
		this.morphAnalysis = "";
	}

	public String[] getConstraints() {
		return constraints;
	}

	public void setConstraints(String[] constraints) {
		this.constraints = constraints;
	}

	public String getMorphAnalysis() {
		return morphAnalysis;
	}

	public void setMorphAnalysis(String morphAnalysis) {
		this.morphAnalysis = morphAnalysis;
	}

	public String getPerfectiveConstraint() {
		return perfectiveConstraint;
	}

	public void setPerfectiveConstraint(String perfectiveConstraint) {
		this.perfectiveConstraint = perfectiveConstraint;
	}

	public String getSuffixToAdd() {
		return suffixToAdd;
	}

	public void setSuffixToAdd(String suffixToAdd) {
		this.suffixToAdd = suffixToAdd;
	}

	public String getSuffixToDelete() {
		return suffixToDelete;
	}

	public void setSuffixToDelete(String suffixToDelete) {
		this.suffixToDelete = suffixToDelete;
	}

	public String getTypeConstraint() {
		return typeConstraint;
	}

	public void setTypeConstraint(String typeConstraint) {
		this.typeConstraint = typeConstraint;
	}

}
