dnet40/modules/uoa-espas-carbon/trunk/uoa-espas-pep/src/main/java/eu/dnetlib/espas/pep/PEPResponse.java @ 40613
1 |
/*
|
---|---|
2 |
* To change this license header, choose License Headers in Project Properties.
|
3 |
* To change this template file, choose Tools | Templates
|
4 |
* and open the template in the editor.
|
5 |
*/
|
6 |
|
7 |
package eu.dnetlib.espas.pep; |
8 |
|
9 |
/**
|
10 |
*
|
11 |
* @author gathanas
|
12 |
*/
|
13 |
public class PEPResponse { |
14 |
|
15 |
private String resourceId; |
16 |
private String responseMessage; |
17 |
private boolean isPermited; |
18 |
|
19 |
|
20 |
public PEPResponse(String resourceId, String responseMessage, boolean isPermited) { |
21 |
this.resourceId = resourceId; |
22 |
this.responseMessage = responseMessage; |
23 |
this.isPermited = isPermited; |
24 |
}
|
25 |
|
26 |
|
27 |
|
28 |
/**
|
29 |
* Get the value of resourceId
|
30 |
*
|
31 |
* @return the value of resourceId
|
32 |
*/
|
33 |
public String getResourceId() { |
34 |
return resourceId; |
35 |
}
|
36 |
|
37 |
/**
|
38 |
* Get the value of responseMessage
|
39 |
*
|
40 |
* @return the value of responseMessage
|
41 |
*/
|
42 |
public String getResponseMessage() { |
43 |
return responseMessage; |
44 |
}
|
45 |
|
46 |
|
47 |
/**
|
48 |
* Get the value of isPermited
|
49 |
*
|
50 |
* @return the value of isPermited
|
51 |
*/
|
52 |
public boolean isIsPermited() { |
53 |
return isPermited; |
54 |
}
|
55 |
|
56 |
}
|