Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@85808 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-11-20 18:05:17 +00:00
parent 9ee1c7978e
commit c35fbb6e6d
7 changed files with 80 additions and 0 deletions

View File

@ -12,6 +12,10 @@ import java.util.ArrayList;
public class TRDescriptionsMetadata implements TRMetadata {
private static final long serialVersionUID = -2663624208642658528L;
String id="DescriptionsMetadata";
String title="Descriptions";
ArrayList<TRLocalizedText> listTRLocalizedText;
public ArrayList<TRLocalizedText> getListTRLocalizedText() {
@ -27,6 +31,16 @@ public class TRDescriptionsMetadata implements TRMetadata {
return "TRDescriptionsMetadata [listTRLocalizedText=" + listTRLocalizedText
+ "]";
}
@Override
public String getId() {
return id;
}
@Override
public String getTitle() {
return title;
}

View File

@ -12,6 +12,9 @@ import java.util.Date;
public class TRExportMetadata implements TRMetadata {
private static final long serialVersionUID = -2663624208642658528L;
String id="ExportMetadata";
String title="Export";
private String destinationType;
private String url;
private Date exportDate;
@ -39,6 +42,14 @@ public class TRExportMetadata implements TRMetadata {
return "TRExportMetadata [destinationType=" + destinationType
+ ", url=" + url + ", exportDate=" + exportDate + "]";
}
@Override
public String getId() {
return id;
}
@Override
public String getTitle() {
return title;
}

View File

@ -12,6 +12,9 @@ import java.util.HashMap;
public class TRGenericMapMetadata implements TRMetadata {
private static final long serialVersionUID = -2663624208642658528L;
String id="GenericMapMetadata";
String title="Generic Map";
private HashMap<String, String> metadataMap = new HashMap<String, String>();
public HashMap<String, String> getMetadataMap() {
@ -26,6 +29,16 @@ public class TRGenericMapMetadata implements TRMetadata {
public String toString() {
return "TRGenericMapMetadata [metadataMap=" + metadataMap + "]";
}
@Override
public String getId() {
return id;
}
@Override
public String getTitle() {
return title;
}

View File

@ -11,6 +11,9 @@ import java.util.Date;
public class TRImportMetadata implements TRMetadata {
private static final long serialVersionUID = -2663624208642658528L;
String id="ImportMetadata";
String title="Import";
private String sourceType;
private String url;
private Date importDate;
@ -45,4 +48,14 @@ public class TRImportMetadata implements TRMetadata {
+ ", importDate=" + importDate + "]";
}
@Override
public String getId() {
return id;
}
@Override
public String getTitle() {
return title;
}
}

View File

@ -11,5 +11,8 @@ import java.io.Serializable;
*/
public interface TRMetadata extends Serializable {
public String getId();
public String getTitle();
}

View File

@ -13,6 +13,9 @@ public class TRNamesMetadata implements TRMetadata {
private static final long serialVersionUID = 7635332011036656032L;
String id="NamesMetadata";
String title="Names";
ArrayList<TRLocalizedText> listTRLocalizedText;
public ArrayList<TRLocalizedText> getListTRLocalizedText() {
@ -27,6 +30,16 @@ public class TRNamesMetadata implements TRMetadata {
public String toString() {
return "TRNamesMetadata [listTRLocalizedText=" + listTRLocalizedText + "]";
}
@Override
public String getId() {
return id;
}
@Override
public String getTitle() {
return title;
}

View File

@ -13,6 +13,9 @@ public class TRVersionMetadata implements TRMetadata {
private static final long serialVersionUID = 5208229342328376604L;
String id="VersionMetadata";
String title="Version";
private String version;
public String getVersion() {
@ -27,6 +30,16 @@ public class TRVersionMetadata implements TRMetadata {
public String toString() {
return "TRVersionMetadata [version=" + version + "]";
}
@Override
public String getId() {
return id;
}
@Override
public String getTitle() {
return title;
}
}