summaryrefslogtreecommitdiff
path: root/SA_POP/utils/PDDLtoSANetTranslator/PDDLParser/src/Translator/TM_Data/Resource.java
blob: 990e736dd2372ea1cd407924ca46a5ab9f2454da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package Translator.TM_Data;

public class Resource {

	public Resource(String resourceID, String kind, String capacity) {
		this.resourceID = resourceID;
		this.kind = kind;
		this.capacity = capacity;
	}

	private String resourceID;
	private String kind;
	private String capacity;
	
	public String getCapacity() {
		return capacity;
	}

	public String getResourceID(){
		return resourceID;
	}
	
	public String getKind(){
		return kind;
	}
	
	public String toString(){
		return ("ResourceID: "+ resourceID+" Kind: "+kind+" Capacity: "+capacity);
	}
	
}