Updated to JAVA 7

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@86992 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-16 17:40:35 +00:00
parent 38872a12da
commit 47e448760a
37 changed files with 200 additions and 79 deletions

37
.classpath Normal file
View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/tabular-data-gwt-service-2.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/tabular-data-gwt-service-2.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/tabular-data-gwt-service-2.0.0-SNAPSHOT/WEB-INF/classes"/>
</classpath>

36
.project Normal file
View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>tabular-data-gwt-service</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,6 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
encoding/<project>=UTF-8

View File

@ -0,0 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.5

View File

@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="tabular-data-gwt-service">
<wb-resource deploy-path="/" source-path="/src/main/java"/>
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
</wb-module>
</project-modules>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<installed facet="jst.utility" version="1.0"/>
<installed facet="java" version="1.5"/>
</faceted-project>

29
config/profile.xml Normal file
View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<Resource>
<ID></ID>
<Type>Service</Type>
<Profile>
<Description>tabular-data-gwt-service allows communication between the GUI and services</Description>
<Class>PortletsUser</Class>
<Name>tabular-data-gwt-service</Name>
<Version>1.0.0</Version>
<Packages>
<Software>
<Description>tabular-data-gwt-service allows communication between the GUI and services</Description>
<Name>tabular-data-gwt-service</Name>
<Version>2.0.0-SNAPSHOT</Version>
<MavenCoordinates>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-gwt-service</artifactId>
<version>2.0.0-SNAPSHOT</version>
</MavenCoordinates>
<Type>library</Type>
<Files>
<File>tabular-data-gwt-service-2.0.0-SNAPSHOT.jar</File>
</Files>
</Software>
</Packages>
</Profile>
</Resource>

0
distro/INSTALL Normal file
View File

6
distro/LICENSE Normal file
View File

@ -0,0 +1,6 @@
gCube System - License
------------------------------------------------------------
The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl).
The software and documentation is provided by its authors/distributors "as is" and no expressed or
implied warranty is given for its use, quality or fitness for a particular case.

1
distro/MAINTAINERS Normal file
View File

@ -0,0 +1 @@
Giancarlo Panichi (giancarlo.panichi@isti.cnr.it), CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"

40
distro/README Normal file
View File

@ -0,0 +1,40 @@
The gCube System - tabular-data-gwt-service
------------------------------------------------------------
This work has been supported by the following European projects: iMarine (FP7-INFRASTRUCTURES-2011-2)
Authors
-------
Giancarlo Panichi (giancarlo.panichi@isti.cnr.it), CNR Pisa,
Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
Version and Release Date
------------------------
v. 2.0.0-SNAPSHOT (2013-10-18)
Description
-----------
tabular-data-gwt-service allows communication between the GUI and services
Download information
--------------------
Source code URL: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service
Documentation
-------------
tabular-data-gwt-service allows communication between the GUI and services
Licensing
---------
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.

6
distro/changelog.xml Normal file
View File

@ -0,0 +1,6 @@
<ReleaseNotes>
<Changeset component="org.gcube.portlets.user.tabular-data-gwt-service.1-0-0"
date="2013-10-18">
<Change>First Release</Change>
</Changeset>
</ReleaseNotes>

1
distro/svnpath.txt Normal file
View File

@ -0,0 +1 @@
https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service

View File

@ -4,7 +4,7 @@ import com.google.gwt.core.client.EntryPoint;
public class TDGWTServiceEntry implements EntryPoint { public class TDGWTServiceEntry implements EntryPoint {
@Override
public void onModuleLoad() { public void onModuleLoad() {

View File

@ -90,7 +90,8 @@ public class SessionUtil {
} }
logger.info("SessionUtil: aslSession " + session.getUsername() + " " logger.info("SessionUtil: aslSession " + session.getUsername() + " "
+ session.getScope()); + session.getScope());
return session; return session;
} }

View File

@ -127,7 +127,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void setTabResource(TabResource tabResource) throws TDGWTServiceException { public void setTabResource(TabResource tabResource) throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -156,7 +156,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public TabResource getTabResourceInformation() throws TDGWTServiceException { public TabResource getTabResourceInformation() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -248,7 +247,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<ColumnData> getColumns() throws TDGWTServiceException { public ArrayList<ColumnData> getColumns() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -325,7 +323,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public TableData getLastTable(TRId trId) throws TDGWTServiceException { public TableData getLastTable(TRId trId) throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -373,7 +370,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void startTDOpen(TDOpenSession s) throws TDGWTServiceException { public void startTDOpen(TDOpenSession s) throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -476,7 +472,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<TabResource> getTabularResources() public ArrayList<TabResource> getTabularResources()
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -517,8 +512,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* @param tabResource * @param tabResource
* @throws TDGWTServiceException * @throws TDGWTServiceException
*/ */
@Override
public void removeTabularResource(TRId trId) throws TDGWTServiceException { public void removeTabularResource(TRId trId) throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -548,7 +541,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public TabResource createTabularResource(TabResource tabResource) public TabResource createTabularResource(TabResource tabResource)
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -584,7 +576,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<Codelist> getCodelists() throws TDGWTServiceException { public ArrayList<Codelist> getCodelists() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -600,7 +591,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<Dataset> getDatasets() throws TDGWTServiceException { public ArrayList<Dataset> getDatasets() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -616,7 +606,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<Agencies> getAgencies() throws TDGWTServiceException { public ArrayList<Agencies> getAgencies() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -658,7 +647,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void startSDMXImport(SDMXImportSession sdmxImportSession) public void startSDMXImport(SDMXImportSession sdmxImportSession)
throws TDGWTServiceException { throws TDGWTServiceException {
@ -751,7 +739,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public SDMXImportMonitor getSDMXImportMonitor() public SDMXImportMonitor getSDMXImportMonitor()
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -843,7 +830,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource) public void setSDMXRegistrySource(SDMXRegistrySource sdmxRegistrySource)
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -865,7 +851,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void setCSVSession(CSVImportSession importSession) public void setCSVSession(CSVImportSession importSession)
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -887,7 +872,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public FileUploadMonitor getFileUploadMonitor() public FileUploadMonitor getFileUploadMonitor()
throws TDGWTServiceException { throws TDGWTServiceException {
@ -908,7 +892,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public AvailableCharsetList getAvailableCharset() public AvailableCharsetList getAvailableCharset()
throws TDGWTServiceException { throws TDGWTServiceException {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -923,7 +906,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
return new AvailableCharsetList(charsetList, defaultEncoding); return new AvailableCharsetList(charsetList, defaultEncoding);
} }
@Override
public ArrayList<String> configureCSVParser(String encoding, public ArrayList<String> configureCSVParser(String encoding,
HeaderPresence headerPresence, char delimiter, char comment) HeaderPresence headerPresence, char delimiter, char comment)
throws TDGWTServiceException { throws TDGWTServiceException {
@ -969,7 +951,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<CSVRowError> checkCSV(long errorsLimit) public ArrayList<CSVRowError> checkCSV(long errorsLimit)
throws TDGWTServiceException { throws TDGWTServiceException {
@ -1000,7 +981,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void startCSVImport(CSVImportSession csvImportSession) public void startCSVImport(CSVImportSession csvImportSession)
throws TDGWTServiceException { throws TDGWTServiceException {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -1115,7 +1095,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public CSVImportMonitor getCSVImportMonitor() throws TDGWTServiceException { public CSVImportMonitor getCSVImportMonitor() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -1206,7 +1185,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void getFileFromWorkspace(CSVImportSession csvImportSession) public void getFileFromWorkspace(CSVImportSession csvImportSession)
throws TDGWTServiceException { throws TDGWTServiceException {
// TODO Auto-generated method stub // TODO Auto-generated method stub
@ -1288,7 +1266,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<TRMetadata> getTRMetadata(TRId trId) public ArrayList<TRMetadata> getTRMetadata(TRId trId)
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -1364,7 +1341,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public ArrayList<TabMetadata> getTableMetadata(TRId trId) public ArrayList<TabMetadata> getTableMetadata(TRId trId)
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -1520,7 +1496,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* @param exportSession * @param exportSession
* @return * @return
*/ */
@Override
public void startSDMXExport(SDMXExportSession exportSession) public void startSDMXExport(SDMXExportSession exportSession)
throws TDGWTServiceException { throws TDGWTServiceException {
logger.debug("Start SDMX Export"); logger.debug("Start SDMX Export");
@ -1589,7 +1564,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public SDMXExportMonitor getSDMXExportMonitor() public SDMXExportMonitor getSDMXExportMonitor()
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
@ -1674,7 +1648,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
* *
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public void startCSVExport(CSVExportSession exportSession) public void startCSVExport(CSVExportSession exportSession)
throws TDGWTServiceException { throws TDGWTServiceException {
logger.debug("Start CSV Export"); logger.debug("Start CSV Export");
@ -1745,7 +1718,6 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TDGWTServi
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public CSVExportMonitor getCSVExportMonitor() throws TDGWTServiceException { public CSVExportMonitor getCSVExportMonitor() throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();

View File

@ -13,7 +13,6 @@ public class FileDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "File"; return "File";
} }
@ -21,7 +20,6 @@ public class FileDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "File destination"; return "File destination";
} }
@ -29,7 +27,6 @@ public class FileDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this destination if you want to save the document in File"; return "Select this destination if you want to save the document in File";
} }

View File

@ -17,7 +17,6 @@ public class SDMXRegistryDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "SDMXRegistry"; return "SDMXRegistry";
} }
@ -25,7 +24,6 @@ public class SDMXRegistryDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "SDMX Registry destination"; return "SDMX Registry destination";
} }
@ -33,7 +31,6 @@ public class SDMXRegistryDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this destination if you want to save document in SDMX Registry"; return "Select this destination if you want to save document in SDMX Registry";
} }

View File

@ -14,7 +14,6 @@ public class WorkspaceDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "Workspace"; return "Workspace";
} }
@ -22,7 +21,6 @@ public class WorkspaceDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "Workspace destination"; return "Workspace destination";
} }
@ -30,7 +28,6 @@ public class WorkspaceDestination implements Destination {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this destination if you want to save the document in Workspace"; return "Select this destination if you want to save the document in Workspace";
} }

View File

@ -17,7 +17,6 @@ public class CodelistDocument implements SDMXDocument {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "codelist"; return "codelist";
} }
@ -25,7 +24,6 @@ public class CodelistDocument implements SDMXDocument {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "Codelist document"; return "Codelist document";
} }
@ -33,7 +31,6 @@ public class CodelistDocument implements SDMXDocument {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this document if you want to retrive codelist"; return "Select this document if you want to retrive codelist";
} }

View File

@ -18,7 +18,6 @@ public class DatasetDocument implements SDMXDocument {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "dataset"; return "dataset";
} }
@ -26,7 +25,6 @@ public class DatasetDocument implements SDMXDocument {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "Dataset document"; return "Dataset document";
} }
@ -34,7 +32,6 @@ public class DatasetDocument implements SDMXDocument {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this document if you want to retrive dataset"; return "Select this document if you want to retrive dataset";
} }

View File

@ -13,7 +13,6 @@ public class FileSource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "File"; return "File";
} }
@ -21,7 +20,6 @@ public class FileSource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "File source"; return "File source";
} }
@ -29,7 +27,6 @@ public class FileSource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this source if you want to retrive document from File"; return "Select this source if you want to retrive document from File";
} }

View File

@ -17,7 +17,6 @@ public class SDMXRegistrySource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "SDMXRegistry"; return "SDMXRegistry";
} }
@ -25,7 +24,6 @@ public class SDMXRegistrySource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "SDMX Registry source"; return "SDMX Registry source";
} }
@ -33,7 +31,6 @@ public class SDMXRegistrySource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this source if you want to retrive document from SDMX Registry"; return "Select this source if you want to retrive document from SDMX Registry";
} }

View File

@ -14,7 +14,6 @@ public class WorkspaceSource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getId() { public String getId() {
return "Workspace"; return "Workspace";
} }
@ -22,7 +21,6 @@ public class WorkspaceSource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getName() { public String getName() {
return "Workspace source"; return "Workspace source";
} }
@ -30,7 +28,6 @@ public class WorkspaceSource implements Source {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override
public String getDescription() { public String getDescription() {
return "Select this source if you want to retrive document from Workspace"; return "Select this source if you want to retrive document from Workspace";
} }

View File

@ -29,12 +29,11 @@ public class TRAgencyMetadata implements TRMetadata {
return "TRAgencyMetadata [value=" + value + "]"; return "TRAgencyMetadata [value=" + value + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -30,12 +30,11 @@ public class TRCreationDateMetadata implements TRMetadata {
return "TRCreationDateMetadata [date=" + date + "]"; return "TRCreationDateMetadata [date=" + date + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -17,7 +17,6 @@ public class TRDescriptionMetadata implements TRMetadata {
String value; String value;
@Override
public String getId() { public String getId() {
return id; return id;
} }
@ -26,7 +25,7 @@ public class TRDescriptionMetadata implements TRMetadata {
this.id = id; this.id = id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -17,7 +17,7 @@ public class TRNameMetadata implements TRMetadata {
String value; String value;
@Override
public String getId() { public String getId() {
return id; return id;
} }
@ -26,7 +26,6 @@ public class TRNameMetadata implements TRMetadata {
this.id = id; this.id = id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -29,12 +29,11 @@ public class TRRightsMetadata implements TRMetadata {
return "TRRightsMetadata [value=" + value + "]"; return "TRRightsMetadata [value=" + value + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -34,12 +34,11 @@ public class TabDescriptionsMetadata implements TabMetadata {
+ "]"; + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -41,11 +41,10 @@ public class TabExportMetadata implements TabMetadata {
return "TabExportMetadata [destinationType=" + destinationType return "TabExportMetadata [destinationType=" + destinationType
+ ", url=" + url + ", exportDate=" + exportDate + "]"; + ", url=" + url + ", exportDate=" + exportDate + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -30,12 +30,11 @@ public class TabGenericMapMetadata implements TabMetadata {
return "TabGenericMapMetadata [metadataMap=" + metadataMap + "]"; return "TabGenericMapMetadata [metadataMap=" + metadataMap + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -47,12 +47,11 @@ public class TabImportMetadata implements TabMetadata {
+ ", importDate=" + importDate + "]"; + ", importDate=" + importDate + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -33,12 +33,11 @@ public class TabNamesMetadata implements TabMetadata {
return "TabNamesMetadata [listTabLocalizedText=" + listTabLocalizedText + "]"; return "TabNamesMetadata [listTabLocalizedText=" + listTabLocalizedText + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -31,12 +31,10 @@ public class TabVersionMetadata implements TabMetadata {
return "TabVersionMetadata [version=" + version + "]"; return "TabVersionMetadata [version=" + version + "]";
} }
@Override
public String getId() { public String getId() {
return id; return id;
} }
@Override
public String getTitle() { public String getTitle() {
return title; return title;
} }

View File

@ -54,14 +54,12 @@ public class GwtTestTDGWTService extends GWTTestCase {
TDGWTServiceAsync.INSTANCE TDGWTServiceAsync.INSTANCE
.getTabularResources(new AsyncCallback<ArrayList<TabResource>>() { .getTabularResources(new AsyncCallback<ArrayList<TabResource>>() {
@Override
public void onFailure(Throwable caught) { public void onFailure(Throwable caught) {
// The request resulted in an unexpected error. // The request resulted in an unexpected error.
fail("Request failure: " + caught.getMessage()); fail("Request failure: " + caught.getMessage());
} }
@Override
public void onSuccess(ArrayList<TabResource> result) { public void onSuccess(ArrayList<TabResource> result) {
assertTrue(result != null); assertTrue(result != null);
System.out.println(""); System.out.println("");