org.gcube.data.analysis.tabulardata.model.table
Class Codelist

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.model.table.Table
      extended by org.gcube.data.analysis.tabulardata.model.table.Codelist
All Implemented Interfaces:
MetadataHolder

public class Codelist
extends Table

Represent a codelist. A codelist is a table made of one IdColumn, one CodeColumn, one or more AttributeColumn;

Author:
"Luigi Fortunati"

Constructor Summary
Codelist(Codelist codelist)
           
Codelist(long id, String name, Collection<Column> columns)
           
Codelist(String name, Collection<Column> columns)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Column> getColumns()
           
 TableType getTableType()
           
 int hashCode()
           
 
Methods inherited from class org.gcube.data.analysis.tabulardata.model.table.Table
exists, getAllMetadata, getColumnByLabel, getColumnByName, getColumnReference, getColumns, getColumns, getId, getMetadata, getMetadataObject, getName, getParentTableId, getReference, getRelationships, hasRelationships, removeAllMetadata, removeMetadata, sameStructureAs, setExists, setMetadata, setMetadata, setParentTableId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Codelist

public Codelist(Codelist codelist)

Codelist

public Codelist(String name,
                Collection<Column> columns)

Codelist

public Codelist(long id,
                String name,
                Collection<Column> columns)
Method Detail

getColumns

public List<Column> getColumns()
Specified by:
getColumns in class Table
Returns:
the column set of the table

getTableType

public TableType getTableType()
Specified by:
getTableType in class Table
Returns:
the table type enumarated value

hashCode

public int hashCode()
Overrides:
hashCode in class Table

equals

public boolean equals(Object obj)
Overrides:
equals in class Table


Copyright © 2013. All Rights Reserved.