Project

General

Profile

1
package eu.dnetlib.enabling.datastructures;
2

    
3
import eu.dnetlib.enabling.annotations.DnetResource;
4
import eu.dnetlib.rmi.objects.is.DnetResourceFormat;
5
import eu.dnetlib.rmi.objects.is.DnetResourceKind;
6

    
7
@DnetResource(type = "TransformationRule", kind = DnetResourceKind.CONFIGURATION, format = DnetResourceFormat.TEXT)
8
public class TransformationRule {
9

    
10
	private String code;
11

    
12
	public TransformationRule() {}
13

    
14
	public TransformationRule(final String code) {
15
		this.code = code;
16
	}
17

    
18
	public String getCode() {
19
		return code;
20
	}
21

    
22
	public void setCode(final String code) {
23
		this.code = code;
24
	}
25

    
26
	@Override
27
	public String toString() {
28
		return getCode();
29
	}
30

    
31
}
(3-3/5)