All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.uniroma2.art.coda.structures.DependsOnInfo Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package it.uniroma2.art.coda.structures;

import java.util.List;

public class DependsOnInfo {

	private String dependsOnType;  // the type of the dependency
	private List dependsOnRuleIdList; // the list of the other rule id
	private List paramsList; // the list of params
	//private boolean hasAlteranativeId; // if it has an alternativeId
	private String usedAliasRuleId; //  the alias used in the rule 
	
	/*public DependsOnInfo(String dependsOnType, String dependsOnRuleId, List valuesList) {
		initialize(dependsOnType, dependsOnRuleId, null, false, valuesList);
	}*/
	
	public DependsOnInfo(String dependsOnType, List dependsOnRuleIdList, List valuesList, 
			String alias) {
		initialize(dependsOnType, dependsOnRuleIdList, valuesList, alias);
	}

	
	private void initialize(String dependsOnType, List dependsOnRuleIdList, List paramsList,
			String alias){
		this.dependsOnType = dependsOnType;
		this.dependsOnRuleIdList = dependsOnRuleIdList;
		this.paramsList = paramsList;
		this.usedAliasRuleId = alias;
	}

	public String getDependsOnType() {
		return dependsOnType;
	}


	public List getDependsOnRuleIdList() {
		return dependsOnRuleIdList;
	}


	public List getParamsList() {
		return paramsList;
	}
	
	public String getAliasRuleId(){
		return usedAliasRuleId;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy