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")
|
@Size(min=1, message= Constants.CONNECTED_RECORD_KNOWLEDGE_BASE_ID_JSON_KEY + " cannot be empty")
|
||||||
private String knowledeBaseId;
|
private String knowledeBaseId;
|
||||||
|
|
||||||
@JsonProperty(Constants.CONNECTED_JSON_KEY)
|
// @JsonProperty(Constants.CONNECTED_JSON_KEY)
|
||||||
private boolean connected;
|
// private boolean connected;
|
||||||
|
|
||||||
public ConnectedBean() {
|
public ConnectedBean() {
|
||||||
super();
|
super();
|
||||||
|
@ -45,22 +45,18 @@ public class ConnectedBean {
|
||||||
this.semanticIdentifier = semanticIdentifier;
|
this.semanticIdentifier = semanticIdentifier;
|
||||||
this.shortName = shortName;
|
this.shortName = shortName;
|
||||||
this.knowledeBaseId = knowledeBaseId;
|
this.knowledeBaseId = knowledeBaseId;
|
||||||
this.connected = connected;
|
// this.connected = connected;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// public boolean isConnected() {
|
||||||
|
// return connected;
|
||||||
public boolean isConnected() {
|
// }
|
||||||
return connected;
|
//
|
||||||
}
|
//
|
||||||
|
//
|
||||||
|
// public void setConnected(boolean connected) {
|
||||||
|
// this.connected = connected;
|
||||||
public void setConnected(boolean connected) {
|
// }
|
||||||
this.connected = connected;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getSemanticIdentifier() {
|
public String getSemanticIdentifier() {
|
||||||
return semanticIdentifier;
|
return semanticIdentifier;
|
||||||
|
@ -94,7 +90,7 @@ public class ConnectedBean {
|
||||||
obj.put(Constants.CONNECTED_RECORD_SHORT_NAME_JSON_KEY, shortName);
|
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_SEMANTIC_IDENTIFIER_JSON_KEY, semanticIdentifier);
|
||||||
obj.put(Constants.CONNECTED_RECORD_KNOWLEDGE_BASE_ID_JSON_KEY, knowledeBaseId);
|
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();
|
return obj.toJSONString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ public class FisheryRecord extends Common{
|
||||||
@CustomField(key=Constants.RESOURCES_EXPLOITED_CUSTOM_KEY)
|
@CustomField(key=Constants.RESOURCES_EXPLOITED_CUSTOM_KEY)
|
||||||
private List<String> resourcesExploited;
|
private List<String> resourcesExploited;
|
||||||
|
|
||||||
|
|
||||||
@JsonProperty(Constants.JURISDICTION_AREA_JSON_KEY)
|
@JsonProperty(Constants.JURISDICTION_AREA_JSON_KEY)
|
||||||
@CustomField(key=Constants.JURISDICTION_AREA_CUSTOM_KEY)
|
@CustomField(key=Constants.JURISDICTION_AREA_CUSTOM_KEY)
|
||||||
private List<String> jurisdictionArea;
|
private List<String> jurisdictionArea;
|
||||||
|
|
Loading…
Reference in New Issue