org.gcube.data.analysis.tabulardata.model.column
Class CodelistRefColumn
java.lang.Object
org.gcube.data.analysis.tabulardata.model.column.Column
org.gcube.data.analysis.tabulardata.model.column.CodelistRefColumn
- All Implemented Interfaces:
- Serializable, MetadataHolder
public class CodelistRefColumn
- extends Column
- See Also:
- Serialized Form
CodelistRefColumn
public CodelistRefColumn(String label,
ColumnRelationship relationship)
- Creates a
CodelistRefColumn with the given relationship.
- Parameters:
label - relationship -
CodelistRefColumn
public CodelistRefColumn(String label,
String name,
ColumnRelationship relationship)
- Creates named
CodelistRefColumn with the given relationship.
- Parameters:
label - name - relationship -
CodelistRefColumn
public CodelistRefColumn(String label,
TableReference codelistReference)
- Creates a
CodelistRefColumn with a relationship pointing to the ID column of the target codelist.
- Parameters:
label - codelistReference -
CodelistRefColumn
public CodelistRefColumn(String label,
String name,
TableReference codelistReference)
- Creates a named
CodelistRefColumn with a relationship pointing to the ID column of the target codelist.
- Parameters:
label - name - codelistReference -
getColumnType
public ColumnType getColumnType()
- Specified by:
getColumnType in class Column
getLabel
public String getLabel()
- Specified by:
getLabel in class Column
setLabel
public void setLabel(String label)
- Specified by:
setLabel in class Column
hasName
public boolean hasName()
- Specified by:
hasName in class Column
getName
public String getName()
- Specified by:
getName in class Column
setName
public void setName(String name)
- Specified by:
setName in class Column
getDataType
public DataType getDataType()
- Specified by:
getDataType in class Column
hasRelationship
public boolean hasRelationship()
- Specified by:
hasRelationship in class Column
getRelationship
public ColumnRelationship getRelationship()
- Specified by:
getRelationship in class Column
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013. All Rights Reserved.