org.talend.core.model.metadata
Class MetadataTable

java.lang.Object
  extended by org.talend.core.model.repository.RepositoryObject
      extended by org.talend.core.model.metadata.MetadataTable
All Implemented Interfaces:
java.lang.Cloneable, IMetadataTable, IRepositoryObject
Direct Known Subclasses:
RepositoryContentProvider.MetadataTableRepositoryObject

public class MetadataTable
extends RepositoryObject
implements IMetadataTable, java.lang.Cloneable

Meta Data Table. Contains all the columns.
$Id: MetadataTable.java,v 1.24.4.1 2006/09/05 13:38:25 mhelleboid Exp $


Field Summary
 
Fields inherited from class org.talend.core.model.repository.RepositoryObject
property
 
Constructor Summary
MetadataTable()
           
 
Method Summary
 IMetadataTable clone()
           
 IMetadataColumn getColumn(java.lang.String columnName)
           
 java.util.List<IMetadataColumn> getListColumns()
           
 IMetadataConnection getParent()
          Getter for parent.
 java.lang.String getTableName()
           
 ERepositoryObjectType getType()
           
 java.lang.String getVersion()
          Returns the process version.
 boolean isReadOnly()
           
 boolean sameMetadataAs(IMetadataTable other)
           
 boolean sameMetadataAs(IMetadataTable other, int options)
           
 void setListColumns(java.util.List<IMetadataColumn> listColumns)
           
 void setParent(IMetadataConnection parent)
          Sets the parent.
 void setReadOnly(boolean readOnly)
           
 void setTableName(java.lang.String tableName)
           
 void sortCustomColumns()
           
 java.lang.String toString()
           
 
Methods inherited from class org.talend.core.model.repository.RepositoryObject
getAuthor, getChildren, getCreationDate, getDescription, getId, getLabel, getModificationDate, getProperty, getPurpose, getStatusCode, setAuthor, setCreationDate, setDescription, setId, setLabel, setModificationDate, setProperty, setPurpose, setStatusCode, setVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.talend.core.model.repository.IRepositoryObject
getAuthor, getChildren, getCreationDate, getDescription, getId, getLabel, getModificationDate, getProperty, getPurpose, getStatusCode, setAuthor, setCreationDate, setDescription, setId, setLabel, setModificationDate, setProperty, setPurpose, setStatusCode, setVersion
 

Constructor Detail

MetadataTable

public MetadataTable()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTableName

public java.lang.String getTableName()
Specified by:
getTableName in interface IMetadataTable

setTableName

public void setTableName(java.lang.String tableName)
Specified by:
setTableName in interface IMetadataTable

getListColumns

public java.util.List<IMetadataColumn> getListColumns()
Specified by:
getListColumns in interface IMetadataTable

setListColumns

public void setListColumns(java.util.List<IMetadataColumn> listColumns)
Specified by:
setListColumns in interface IMetadataTable

clone

public IMetadataTable clone()
Specified by:
clone in interface IMetadataTable
Overrides:
clone in class java.lang.Object

sameMetadataAs

public boolean sameMetadataAs(IMetadataTable other,
                              int options)
Specified by:
sameMetadataAs in interface IMetadataTable

sameMetadataAs

public boolean sameMetadataAs(IMetadataTable other)
Specified by:
sameMetadataAs in interface IMetadataTable

getParent

public IMetadataConnection getParent()
Getter for parent.

Specified by:
getParent in interface IMetadataTable
Returns:
the parent

setParent

public void setParent(IMetadataConnection parent)
Sets the parent.

Specified by:
setParent in interface IMetadataTable
Parameters:
parent - the parent to set

getType

public ERepositoryObjectType getType()
Specified by:
getType in interface IRepositoryObject
Overrides:
getType in class RepositoryObject

getVersion

public java.lang.String getVersion()
Description copied from interface: IRepositoryObject
Returns the process version. Returns null if process id is not set or cannot be retrieve.

Specified by:
getVersion in interface IRepositoryObject
Overrides:
getVersion in class RepositoryObject
Returns:
the process version

getColumn

public IMetadataColumn getColumn(java.lang.String columnName)
Specified by:
getColumn in interface IMetadataTable

sortCustomColumns

public void sortCustomColumns()
Specified by:
sortCustomColumns in interface IMetadataTable

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface IMetadataTable

setReadOnly

public void setReadOnly(boolean readOnly)
Specified by:
setReadOnly in interface IMetadataTable