-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
163 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
209 changes: 110 additions & 99 deletions
209
...tch/src/main/java/it/csi/sira/backend/metadata/integration/servizi/csw/dto/CswRecord.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1,115 @@ | ||
package it.csi.sira.backend.metadata.integration.servizi.csw.dto; | ||
|
||
import java.util.Arrays; | ||
|
||
public class CswRecord { | ||
|
||
private String identifier; | ||
private String provider; | ||
private String urlMetadato; | ||
private String title; | ||
private CswSubject[] subjects; | ||
private String[] types; | ||
private String format; | ||
private String textAbstract; | ||
private CswURI[] uri; | ||
private CswBoundingBox[] boundingBox; | ||
private int idMetadato; | ||
|
||
public String getIdentifier() { | ||
return identifier; | ||
} | ||
|
||
public void setIdentifier(String identifier) { | ||
this.identifier = identifier; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
} | ||
|
||
public String getFormat() { | ||
return format; | ||
} | ||
|
||
public void setFormat(String format) { | ||
this.format = format; | ||
} | ||
|
||
public String getProvider() { | ||
return provider; | ||
} | ||
|
||
public void setProvider(String provider) { | ||
this.provider = provider; | ||
} | ||
|
||
public String getUrlMetadato() { | ||
return urlMetadato; | ||
} | ||
|
||
public void setUrlMetadato(String urlMetadato) { | ||
this.urlMetadato = urlMetadato; | ||
} | ||
|
||
public String getTextAbstract() { | ||
return textAbstract; | ||
} | ||
|
||
public void setTextAbstract(String textAbstract) { | ||
this.textAbstract = textAbstract; | ||
} | ||
|
||
public CswSubject[] getSubjects() { | ||
return subjects; | ||
} | ||
|
||
public void setSubjects(CswSubject[] subjects) { | ||
this.subjects = subjects; | ||
} | ||
|
||
public int getIdMetadato() { | ||
return idMetadato; | ||
} | ||
|
||
public void setIdMetadato(int idMetadato) { | ||
this.idMetadato = idMetadato; | ||
} | ||
|
||
public CswURI[] getUri() { | ||
return uri; | ||
} | ||
|
||
public void setUri(CswURI[] uri) { | ||
this.uri = uri; | ||
} | ||
|
||
public CswBoundingBox[] getBoundingBox() { | ||
return boundingBox; | ||
} | ||
|
||
public void setBoundingBox(CswBoundingBox[] boundingBox) { | ||
this.boundingBox = boundingBox; | ||
} | ||
|
||
public String[] getTypes() { | ||
return types; | ||
} | ||
|
||
public void setTypes(String[] types) { | ||
this.types = types; | ||
} | ||
private String identifier; | ||
private String provider; | ||
private String urlMetadato; | ||
private String title; | ||
private CswSubject[] subjects; | ||
private String[] types; | ||
private String format; | ||
private String textAbstract; | ||
private CswURI[] uri; | ||
private CswBoundingBox[] boundingBox; | ||
private int idMetadato; | ||
|
||
public String getIdentifier() { | ||
return identifier; | ||
} | ||
|
||
public void setIdentifier(String identifier) { | ||
this.identifier = identifier; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
} | ||
|
||
public String getFormat() { | ||
return format; | ||
} | ||
|
||
public void setFormat(String format) { | ||
this.format = format; | ||
} | ||
|
||
public String getProvider() { | ||
return provider; | ||
} | ||
|
||
public void setProvider(String provider) { | ||
this.provider = provider; | ||
} | ||
|
||
public String getUrlMetadato() { | ||
return urlMetadato; | ||
} | ||
|
||
public void setUrlMetadato(String urlMetadato) { | ||
this.urlMetadato = urlMetadato; | ||
} | ||
|
||
public String getTextAbstract() { | ||
return textAbstract; | ||
} | ||
|
||
public void setTextAbstract(String textAbstract) { | ||
this.textAbstract = textAbstract; | ||
} | ||
|
||
public CswSubject[] getSubjects() { | ||
return subjects; | ||
} | ||
|
||
public void setSubjects(CswSubject[] subjects) { | ||
this.subjects = subjects; | ||
} | ||
|
||
public int getIdMetadato() { | ||
return idMetadato; | ||
} | ||
|
||
public void setIdMetadato(int idMetadato) { | ||
this.idMetadato = idMetadato; | ||
} | ||
|
||
public CswURI[] getUri() { | ||
return uri; | ||
} | ||
|
||
public void setUri(CswURI[] uri) { | ||
this.uri = uri; | ||
} | ||
|
||
public CswBoundingBox[] getBoundingBox() { | ||
return boundingBox; | ||
} | ||
|
||
public void setBoundingBox(CswBoundingBox[] boundingBox) { | ||
this.boundingBox = boundingBox; | ||
} | ||
|
||
public String[] getTypes() { | ||
return types; | ||
} | ||
|
||
public void setTypes(String[] types) { | ||
this.types = types; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "CswRecord [identifier=" + identifier + ", provider=" + provider + ", urlMetadato=" + urlMetadato | ||
+ ", title=" + title + ", subjects=" + Arrays.toString(subjects) + ", types=" + Arrays.toString(types) | ||
+ ", format=" + format + ", uri=" + Arrays.toString(uri) | ||
+ ", idMetadato=" + idMetadato + "]"; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 27 additions & 21 deletions
48
...-batch/src/main/java/it/csi/sira/backend/metadata/integration/servizi/csw/dto/CswURI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,37 @@ | ||
package it.csi.sira.backend.metadata.integration.servizi.csw.dto; | ||
|
||
public class CswURI { | ||
private int tipo; | ||
private String protocol; | ||
private String url; | ||
private int tipo; | ||
private String protocol; | ||
private String url; | ||
|
||
public String getProtocol() { | ||
return protocol; | ||
} | ||
public String getProtocol() { | ||
return protocol; | ||
} | ||
|
||
public void setProtocol(String protocol) { | ||
this.protocol = protocol; | ||
} | ||
public void setProtocol(String protocol) { | ||
this.protocol = protocol; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
|
||
public int getTipo() { | ||
return tipo; | ||
} | ||
public int getTipo() { | ||
return tipo; | ||
} | ||
|
||
public void setTipo(int tipo) { | ||
this.tipo = tipo; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "CswURI [tipo=" + tipo + ", protocol=" + protocol + ", url=" + url + "]"; | ||
} | ||
|
||
public void setTipo(int tipo) { | ||
this.tipo = tipo; | ||
} | ||
} |