Updated OperationMonitor
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@99244 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b1460ad4e8
commit
b04933862f
|
@ -2970,12 +2970,12 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
.getTabularResource(new TabularResourceId(Long.valueOf(trId
|
.getTabularResource(new TabularResourceId(Long.valueOf(trId
|
||||||
.getId())));
|
.getId())));
|
||||||
|
|
||||||
Collection<TabularResourceMetadata> trMetas = tr.getAllMetadata();
|
Collection<TabularResourceMetadata<?>> trMetas = tr.getAllMetadata();
|
||||||
|
|
||||||
logger.debug("GetTRMetadata size: " + trMetas.size());
|
logger.debug("GetTRMetadata size: " + trMetas.size());
|
||||||
ArrayList<TRMetadata> listTRMetadata = new ArrayList<TRMetadata>();
|
ArrayList<TRMetadata> listTRMetadata = new ArrayList<TRMetadata>();
|
||||||
|
|
||||||
for (TabularResourceMetadata trMetadata : trMetas) {
|
for (TabularResourceMetadata<?> trMetadata : trMetas) {
|
||||||
if (trMetadata instanceof org.gcube.data.analysis.tabulardata.service.tabular.metadata.DescriptionMetadata) {
|
if (trMetadata instanceof org.gcube.data.analysis.tabulardata.service.tabular.metadata.DescriptionMetadata) {
|
||||||
TRDescriptionMetadata trDescriptionMetadata = new TRDescriptionMetadata();
|
TRDescriptionMetadata trDescriptionMetadata = new TRDescriptionMetadata();
|
||||||
trDescriptionMetadata
|
trDescriptionMetadata
|
||||||
|
|
|
@ -118,11 +118,11 @@ public class TestMetadata {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected ArrayList<TRMetadata> showMetadata(TabularResource tr) {
|
protected ArrayList<TRMetadata> showMetadata(TabularResource tr) {
|
||||||
Collection<TabularResourceMetadata> trMetas = tr.getAllMetadata();
|
Collection<TabularResourceMetadata<?>> trMetas = tr.getAllMetadata();
|
||||||
|
|
||||||
ArrayList<TRMetadata> listTRMetadata = new ArrayList<TRMetadata>();
|
ArrayList<TRMetadata> listTRMetadata = new ArrayList<TRMetadata>();
|
||||||
|
|
||||||
for (TabularResourceMetadata trMetadata : trMetas) {
|
for (TabularResourceMetadata<?> trMetadata : trMetas) {
|
||||||
if (trMetadata instanceof org.gcube.data.analysis.tabulardata.service.tabular.metadata.DescriptionMetadata) {
|
if (trMetadata instanceof org.gcube.data.analysis.tabulardata.service.tabular.metadata.DescriptionMetadata) {
|
||||||
TRDescriptionMetadata trDescriptionMetadata = new TRDescriptionMetadata();
|
TRDescriptionMetadata trDescriptionMetadata = new TRDescriptionMetadata();
|
||||||
trDescriptionMetadata
|
trDescriptionMetadata
|
||||||
|
|
Loading…
Reference in New Issue