minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@162799 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a2509fb9b1
commit
1c10e052f2
|
@ -24,8 +24,8 @@ public class ConnectedBean {
|
|||
@Size(min=1, message= Constants.CONNECTED_RECORD_KNOWLEDGE_BASE_ID_JSON_KEY + " cannot be empty")
|
||||
private String knowledeBaseId;
|
||||
|
||||
@JsonProperty(Constants.CONNECTED_JSON_KEY)
|
||||
private boolean connected;
|
||||
// @JsonProperty(Constants.CONNECTED_JSON_KEY)
|
||||
// private boolean connected;
|
||||
|
||||
public ConnectedBean() {
|
||||
super();
|
||||
|
@ -45,22 +45,18 @@ public class ConnectedBean {
|
|||
this.semanticIdentifier = semanticIdentifier;
|
||||
this.shortName = shortName;
|
||||
this.knowledeBaseId = knowledeBaseId;
|
||||
this.connected = connected;
|
||||
// this.connected = connected;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public boolean isConnected() {
|
||||
return connected;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setConnected(boolean connected) {
|
||||
this.connected = connected;
|
||||
}
|
||||
|
||||
|
||||
// public boolean isConnected() {
|
||||
// return connected;
|
||||
// }
|
||||
//
|
||||
//
|
||||
//
|
||||
// public void setConnected(boolean connected) {
|
||||
// this.connected = connected;
|
||||
// }
|
||||
|
||||
public String getSemanticIdentifier() {
|
||||
return semanticIdentifier;
|
||||
|
@ -94,7 +90,7 @@ public class ConnectedBean {
|
|||
obj.put(Constants.CONNECTED_RECORD_SHORT_NAME_JSON_KEY, shortName);
|
||||
obj.put(Constants.CONNECTED_RECORD_SEMANTIC_IDENTIFIER_JSON_KEY, semanticIdentifier);
|
||||
obj.put(Constants.CONNECTED_RECORD_KNOWLEDGE_BASE_ID_JSON_KEY, knowledeBaseId);
|
||||
obj.put(Constants.CONNECTED_JSON_KEY, connected);
|
||||
// obj.put(Constants.CONNECTED_JSON_KEY, connected);
|
||||
return obj.toJSONString();
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ public class FisheryRecord extends Common{
|
|||
@CustomField(key=Constants.RESOURCES_EXPLOITED_CUSTOM_KEY)
|
||||
private List<String> resourcesExploited;
|
||||
|
||||
|
||||
@JsonProperty(Constants.JURISDICTION_AREA_JSON_KEY)
|
||||
@CustomField(key=Constants.JURISDICTION_AREA_CUSTOM_KEY)
|
||||
private List<String> jurisdictionArea;
|
||||
|
|
Loading…
Reference in New Issue