Added view metadata

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widgetx@93353 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-03-19 18:09:06 +00:00 committed by Giancarlo Panichi
parent fa09268ea2
commit 6716028740
2 changed files with 68 additions and 19 deletions

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/tabular-data-widgetx-1.0.1-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<classpathentry kind="src" output="target/tabular-data-widgetx-1.0.2-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-widgetx-1.0.1-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<classpathentry excluding="**" kind="src" output="target/tabular-data-widgetx-1.0.2-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
@ -28,5 +28,5 @@
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/tabular-data-widgetx-1.0.1-SNAPSHOT/WEB-INF/classes"/>
<classpathentry kind="output" path="target/tabular-data-widgetx-1.0.2-SNAPSHOT/WEB-INF/classes"/>
</classpath>

View File

@ -18,15 +18,12 @@ public class ColumnDefinition implements Serializable {
protected String id; //Column Name on service
protected String columnLocalId; //ColumnLocalId on service
protected boolean viewColumn;
protected String sourceTableDimensionColumnId;
protected String targetTableColumnId;
protected long targetTableId;
protected String label; //Label
public String getColumnLocalId() {
return columnLocalId;
}
public void setColumnLocalId(String columnLocalId) {
this.columnLocalId = columnLocalId;
}
protected ValueType valueType;
protected int width;
protected boolean editable;
@ -210,15 +207,64 @@ public class ColumnDefinition implements Serializable {
this.columnDataType = columnDataType;
}
public String getColumnLocalId() {
return columnLocalId;
}
public void setColumnLocalId(String columnLocalId) {
this.columnLocalId = columnLocalId;
}
public boolean isViewColumn() {
return viewColumn;
}
public void setViewColumn(boolean viewColumn) {
this.viewColumn = viewColumn;
}
public String getSourceTableDimensionColumnId() {
return sourceTableDimensionColumnId;
}
public void setSourceTableDimensionColumnId(String sourceTableDimensionColumnId) {
this.sourceTableDimensionColumnId = sourceTableDimensionColumnId;
}
public String getTargetTableColumnId() {
return targetTableColumnId;
}
public void setTargetTableColumnId(String targetTableColumnId) {
this.targetTableColumnId = targetTableColumnId;
}
public long getTargetTableId() {
return targetTableId;
}
public void setTargetTableId(long targetTableId) {
this.targetTableId = targetTableId;
}
public void setLabel(String label) {
this.label = label;
}
@Override
public String toString() {
return "ColumnDefinition [id=" + id + ", label=" + label
+ ", columnLocalId=" + columnLocalId + ", valueType="
+ valueType + ", width=" + width + ", editable=" + editable
+ ", visible=" + visible + ", type=" + type + ", position="
+ position + ", tooltipMessage=" + tooltipMessage
+ ", columnTypeName=" + columnTypeName + ", columnDataType="
+ columnDataType + ", key=" + key + "]";
return "ColumnDefinition [id=" + id + ", columnLocalId="
+ columnLocalId + ", viewColumn=" + viewColumn
+ ", sourceTableDimensionColumnId="
+ sourceTableDimensionColumnId + ", targetTableColumnId="
+ targetTableColumnId + ", targetTableId=" + targetTableId
+ ", label=" + label + ", valueType=" + valueType + ", width="
+ width + ", editable=" + editable + ", visible=" + visible
+ ", type=" + type + ", position=" + position
+ ", tooltipMessage=" + tooltipMessage + ", columnTypeName="
+ columnTypeName + ", columnDataType=" + columnDataType
+ ", key=" + key + "]";
}
@ -226,4 +272,7 @@ public class ColumnDefinition implements Serializable {
}