com.metamatrix.metadata.runtime.impl
Class ColumnSetRecordImpl

java.lang.Object
  extended by com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
      extended by com.metamatrix.metadata.runtime.impl.ColumnSetRecordImpl
All Implemented Interfaces:
ColumnSetRecord, MetadataRecord, java.io.Serializable
Direct Known Subclasses:
ForeignKeyRecordImpl, TableRecordImpl, UniqueKeyRecordImpl

public class ColumnSetRecordImpl
extends AbstractMetadataRecord
implements ColumnSetRecord

ColumnSetRecordImpl

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.ColumnSetRecord
ColumnSetRecord.ColumnSetRecordProperties
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
MetadataRecord.MetadataFieldNames, MetadataRecord.MetadataRecordProperties
 
Field Summary
 
Fields inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
delegate, eObject
 
Constructor Summary
  ColumnSetRecordImpl()
           
protected ColumnSetRecordImpl(MetadataRecordDelegate delegate)
           
 
Method Summary
 ListEntryRecord[] getColumnIdEntries()
          Get a list of identifiers for the columns in the record
 java.util.List getColumnIDs()
          Get a list of identifiers for the columns in the record
protected  short getKeyTypeForRecordType(char recordType)
           
 short getType()
          Return short indicating the type of KEY it is.
 boolean isAccessPattern()
          Return true if the record represents a access pattern
 boolean isIndex()
          Return true if the record represents a index
 boolean isPrimaryKey()
          Return true if the record represents a primary key
 boolean isResultSet()
          Return true if the record represents a result set
 boolean isUniqueKey()
          Return true if the record represents a unique key
 void setColumnIDs(java.util.List list)
           
 
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, toString
 
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.MetadataRecord
getEObject, getFullName, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue
 

Constructor Detail

ColumnSetRecordImpl

public ColumnSetRecordImpl()

ColumnSetRecordImpl

protected ColumnSetRecordImpl(MetadataRecordDelegate delegate)
Method Detail

getColumnIDs

public java.util.List getColumnIDs()
Description copied from interface: ColumnSetRecord
Get a list of identifiers for the columns in the record

Specified by:
getColumnIDs in interface ColumnSetRecord
Returns:
a list of identifiers
See Also:
ColumnSetRecord.getColumnIDs()

getColumnIdEntries

public ListEntryRecord[] getColumnIdEntries()
Description copied from interface: ColumnSetRecord
Get a list of identifiers for the columns in the record

Specified by:
getColumnIdEntries in interface ColumnSetRecord
Returns:
a list of identifiers
See Also:
ColumnSetRecord.getColumnIdEntries()

isAccessPattern

public boolean isAccessPattern()
Description copied from interface: ColumnSetRecord
Return true if the record represents a access pattern

Specified by:
isAccessPattern in interface ColumnSetRecord
Returns:
See Also:
ColumnSetRecord.isAccessPattern()

isIndex

public boolean isIndex()
Description copied from interface: ColumnSetRecord
Return true if the record represents a index

Specified by:
isIndex in interface ColumnSetRecord
Returns:
See Also:
ColumnSetRecord.isIndex()

isPrimaryKey

public boolean isPrimaryKey()
Description copied from interface: ColumnSetRecord
Return true if the record represents a primary key

Specified by:
isPrimaryKey in interface ColumnSetRecord
Returns:
See Also:
ColumnSetRecord.isPrimaryKey()

isUniqueKey

public boolean isUniqueKey()
Description copied from interface: ColumnSetRecord
Return true if the record represents a unique key

Specified by:
isUniqueKey in interface ColumnSetRecord
Returns:
See Also:
ColumnSetRecord.isUniqueKey()

isResultSet

public boolean isResultSet()
Description copied from interface: ColumnSetRecord
Return true if the record represents a result set

Specified by:
isResultSet in interface ColumnSetRecord
Returns:
See Also:
ColumnSetRecord.isResultSet()

getType

public short getType()
Description copied from interface: ColumnSetRecord
Return short indicating the type of KEY it is.

Specified by:
getType in interface ColumnSetRecord
Returns:
short
See Also:
ColumnSetRecord.getType()

setColumnIDs

public void setColumnIDs(java.util.List list)
Parameters:
list -

getKeyTypeForRecordType

protected short getKeyTypeForRecordType(char recordType)


Copyright © 2009. All Rights Reserved.