com.metamatrix.metadata.runtime.impl
Class ModelRecordImpl

java.lang.Object
  extended by com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
      extended by com.metamatrix.metadata.runtime.impl.ModelRecordImpl
All Implemented Interfaces:
MetadataRecord, ModelRecord, java.io.Serializable

public class ModelRecordImpl
extends AbstractMetadataRecord
implements ModelRecord

ModelRecordImpl

See Also:
Serialized Form

Nested Class Summary
 
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
  ModelRecordImpl()
           
protected ModelRecordImpl(MetadataRecordDelegate delegate)
           
 
Method Summary
 int getMaxSetSize()
          Get the maxSet size allowed
 int getModelType()
          Return integer indicating the type of Model it is.
 java.lang.String getPrimaryMetamodelUri()
          Return the URI string for the primary metamodel
 boolean isPhysical()
          Check if the model represents a physical model
 boolean isVisible()
          Check if the model is visible
 void setMaxSetSize(int i)
           
 void setModelType(int i)
           
 void setPrimaryMetamodelUri(java.lang.String string)
           
 void setSupportsDistinct(boolean b)
           
 void setSupportsJoin(boolean b)
           
 void setSupportsOrderBy(boolean b)
           
 void setSupportsOuterJoin(boolean b)
           
 void setSupportsWhereAll(boolean b)
           
 void setVisible(boolean b)
           
 boolean supportsDistinct()
          Check if distinct are supported
 boolean supportsJoin()
          Check if joins are supported on this model
 boolean supportsOrderBy()
          Check if OrderBys are supported by these
 boolean supportsOuterJoin()
          Check if model supports outer joins
 boolean supportsWhereAll()
          Check if full table scans are supported
 java.lang.String toString()
           
 
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.MetadataRecord
getEObject, getFullName, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue
 

Constructor Detail

ModelRecordImpl

public ModelRecordImpl()

ModelRecordImpl

protected ModelRecordImpl(MetadataRecordDelegate delegate)
Method Detail

getPrimaryMetamodelUri

public java.lang.String getPrimaryMetamodelUri()
Description copied from interface: ModelRecord
Return the URI string for the primary metamodel

Specified by:
getPrimaryMetamodelUri in interface ModelRecord
Returns:
See Also:
ModelRecord.getPrimaryMetamodelUri()

getMaxSetSize

public int getMaxSetSize()
Description copied from interface: ModelRecord
Get the maxSet size allowed

Specified by:
getMaxSetSize in interface ModelRecord
Returns:
maximum allowed size in a SET criteria

isVisible

public boolean isVisible()
Description copied from interface: ModelRecord
Check if the model is visible

Specified by:
isVisible in interface ModelRecord
Returns:

supportsDistinct

public boolean supportsDistinct()
Description copied from interface: ModelRecord
Check if distinct are supported

Specified by:
supportsDistinct in interface ModelRecord
Returns:
true if distinct is supported

supportsJoin

public boolean supportsJoin()
Description copied from interface: ModelRecord
Check if joins are supported on this model

Specified by:
supportsJoin in interface ModelRecord
Returns:
true if joins are supported

supportsOrderBy

public boolean supportsOrderBy()
Description copied from interface: ModelRecord
Check if OrderBys are supported by these

Specified by:
supportsOrderBy in interface ModelRecord
Returns:
true if orderBys are supported

supportsOuterJoin

public boolean supportsOuterJoin()
Description copied from interface: ModelRecord
Check if model supports outer joins

Specified by:
supportsOuterJoin in interface ModelRecord
Returns:
true if outer joins are supported

supportsWhereAll

public boolean supportsWhereAll()
Description copied from interface: ModelRecord
Check if full table scans are supported

Specified by:
supportsWhereAll in interface ModelRecord
Returns:
true if full table scans are supported

getModelType

public int getModelType()
Description copied from interface: ModelRecord
Return integer indicating the type of Model it is.

Specified by:
getModelType in interface ModelRecord
Returns:
int
See Also:
com.metamatrix.modeler.core.metadata.runtime.MetadataConstants.MODEL_TYPES

isPhysical

public boolean isPhysical()
Description copied from interface: ModelRecord
Check if the model represents a physical model

Specified by:
isPhysical in interface ModelRecord
Returns:

setPrimaryMetamodelUri

public void setPrimaryMetamodelUri(java.lang.String string)
Parameters:
string -

setVisible

public void setVisible(boolean b)
Parameters:
b -

setMaxSetSize

public void setMaxSetSize(int i)
Parameters:
i -

setSupportsDistinct

public void setSupportsDistinct(boolean b)
Parameters:
b -

setSupportsJoin

public void setSupportsJoin(boolean b)
Parameters:
b -

setSupportsOrderBy

public void setSupportsOrderBy(boolean b)
Parameters:
b -

setSupportsOuterJoin

public void setSupportsOuterJoin(boolean b)
Parameters:
b -

setSupportsWhereAll

public void setSupportsWhereAll(boolean b)
Parameters:
b -

setModelType

public void setModelType(int i)
Parameters:
i -

toString

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


Copyright © 2009. All Rights Reserved.