|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord com.metamatrix.metadata.runtime.impl.ColumnSetRecordImpl com.metamatrix.metadata.runtime.impl.TableRecordImpl
public class TableRecordImpl
TableRecordImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.TableRecord |
---|
TableRecord.TableRecordProperties |
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
---|
MetadataRecord.MetadataFieldNames, MetadataRecord.MetadataRecordProperties |
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.ColumnSetRecord |
---|
ColumnSetRecord.ColumnSetRecordProperties |
Field Summary |
---|
Fields inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord |
---|
delegate, eObject |
Constructor Summary | |
---|---|
|
TableRecordImpl()
|
protected |
TableRecordImpl(MetadataRecordDelegate delegate)
|
Method Summary | |
---|---|
java.util.Collection |
getAccessPatternIDs()
Get a list of identifiers for the access patterns in the table |
int |
getCardinality()
Get a cardinality of the table in the table |
java.util.Collection |
getForeignKeyIDs()
Get a list of identifiers for the foreign keys in the table |
java.util.Collection |
getIndexIDs()
Get a list of identifiers for the indexes in the table |
java.lang.Object |
getMaterializedStageTableID()
Get a materialized staging table identifier for this table |
java.lang.Object |
getMaterializedTableID()
Get a materialized table identifier for this table |
java.lang.Object |
getPrimaryKeyID()
Get a primary key identifier in the table |
int |
getTableType()
Return the table type of this table |
java.util.Collection |
getUniqueKeyIDs()
Get a list of identifiers for the unique keys in the table |
boolean |
isMaterialized()
Check if table represents a materialized table |
boolean |
isPhysical()
Check if table represents a table in a physical model |
boolean |
isSystem()
Check if table represents a table in a system model |
boolean |
isVirtual()
Check if table represents a table in a virtual model |
void |
setAccessPatternIDs(java.util.Collection collection)
|
void |
setCardinality(int i)
|
void |
setForeignKeyIDs(java.util.Collection collection)
|
void |
setIndexIDs(java.util.Collection collection)
|
void |
setMaterialized(boolean isMaterialized)
|
void |
setMaterializedStageTableID(java.lang.Object materializedStageTableID)
|
void |
setMaterializedTableID(java.lang.Object materializedTableID)
|
void |
setPrimaryKeyID(java.lang.Object keyID)
|
void |
setSupportsUpdate(boolean b)
|
void |
setSystem(boolean b)
|
void |
setTableType(int i)
|
void |
setUniqueKeyIDs(java.util.Collection collection)
|
void |
setVirtual(boolean b)
|
boolean |
supportsUpdate()
Check if UPDATE operations are supported on the table |
java.lang.String |
toString()
|
Methods inherited from class com.metamatrix.metadata.runtime.impl.ColumnSetRecordImpl |
---|
getColumnIdEntries, getColumnIDs, getKeyTypeForRecordType, getType, isAccessPattern, isIndex, isPrimaryKey, isResultSet, isUniqueKey, setColumnIDs |
Methods inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord |
---|
equals, getEObject, getFullName, getIndexVersion, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, hashCode, setEObjectFinder, setFullName, setIndexVersion, setName, setNameInSource, setParentUUID, setPropertyValue, setRecordType, setResourcePath, setUUID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.metamatrix.modeler.core.metadata.runtime.TableRecord |
---|
getColumnIDs |
Methods inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
---|
getEObject, getFullName, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue |
Constructor Detail |
---|
public TableRecordImpl()
protected TableRecordImpl(MetadataRecordDelegate delegate)
Method Detail |
---|
public java.util.Collection getAccessPatternIDs()
TableRecord
getAccessPatternIDs
in interface TableRecord
public int getCardinality()
TableRecord
getCardinality
in interface TableRecord
public java.util.Collection getForeignKeyIDs()
TableRecord
getForeignKeyIDs
in interface TableRecord
public java.util.Collection getIndexIDs()
TableRecord
getIndexIDs
in interface TableRecord
public java.lang.Object getPrimaryKeyID()
TableRecord
getPrimaryKeyID
in interface TableRecord
public java.util.Collection getUniqueKeyIDs()
TableRecord
getUniqueKeyIDs
in interface TableRecord
public boolean isVirtual()
TableRecord
isVirtual
in interface TableRecord
public boolean isMaterialized()
TableRecord
isMaterialized
in interface TableRecord
TableRecord.isMaterialized()
public boolean isPhysical()
TableRecord
isPhysical
in interface TableRecord
TableRecord.isPhysical()
public boolean isSystem()
TableRecord
isSystem
in interface TableRecord
TableRecord.isSystem()
public int getTableType()
TableRecord
getTableType
in interface TableRecord
MetadataConstants.TABLE_TYPES
public java.lang.Object getMaterializedStageTableID()
TableRecord
getMaterializedStageTableID
in interface TableRecord
TableRecord.getMaterializedStageTableID()
public java.lang.Object getMaterializedTableID()
TableRecord
getMaterializedTableID
in interface TableRecord
TableRecord.getMaterializedTableID()
public boolean supportsUpdate()
TableRecord
supportsUpdate
in interface TableRecord
public void setCardinality(int i)
i
- public void setTableType(int i)
i
- public void setPrimaryKeyID(java.lang.Object keyID)
object
- public void setSupportsUpdate(boolean b)
b
- public void setVirtual(boolean b)
b
- public void setMaterialized(boolean isMaterialized)
isMaterialized
- The isMaterialized to set.public void setSystem(boolean b)
b
- public void setAccessPatternIDs(java.util.Collection collection)
collection
- public void setForeignKeyIDs(java.util.Collection collection)
collection
- public void setMaterializedStageTableID(java.lang.Object materializedStageTableID)
materializedStageTableID
- The materializedStageTableID to set.public void setMaterializedTableID(java.lang.Object materializedTableID)
materializedTableID
- The materializedTableID to set.public void setIndexIDs(java.util.Collection collection)
collection
- public void setUniqueKeyIDs(java.util.Collection collection)
collection
- public java.lang.String toString()
toString
in class AbstractMetadataRecord
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |