|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Model
Instances of this interface represent Models in a Virtual Database. The values of a Model are analogous to a DataSource or a Virtual DataSource.
Field Summary | |
---|---|
static short |
PRIVATE
|
static short |
PUBLIC
|
Method Summary | |
---|---|
void |
enableMutliSourceBindings(boolean isEnabled)
Enable the model to have multiple connector bindings associated by passing in true . |
java.util.List |
getConnectorBindingNames()
Return the connector binding name(s). |
java.util.Date |
getDateVersioned()
Get the date this model was versioned. |
java.lang.String |
getDescription()
Return the description |
java.lang.String |
getGUID()
Return the global unique identifier for this Virtual Databse. |
int |
getModelType()
Return the type of model |
java.lang.String |
getModelTypeName()
Returns the String version of the model type. |
java.lang.String |
getModelURI()
Return the model uri. |
java.lang.String |
getVersion()
|
java.lang.String |
getVersionedBy()
Get the name of the person who versioned this model. |
short |
getVisibility()
|
boolean |
isMaterialization()
Check whether this model is a materialization of a virtual group. |
boolean |
isMultiSourceBindingEnabled()
Returns true if the model has been enabled to have multiple connector bindings assigned. |
boolean |
isPhysical()
Return boolean indicating if this model is of a physical type. |
boolean |
isVisible()
Returns true if the model is visible to the use
for querying |
boolean |
requireConnectorBinding()
Return boolean indicating whether the model requires connector bindings. |
boolean |
supportsMultiSourceBindings()
Returns true if the model, based on its model type, supports mutliple connector bindings. |
Methods inherited from interface com.metamatrix.metadata.runtime.api.MetadataObject |
---|
clone, compareTo, equals, getFullName, getID, getName, getProperties, getVirtualDatabaseID, toString |
Field Detail |
---|
static final short PRIVATE
static final short PUBLIC
Method Detail |
---|
java.lang.String getVersion()
java.lang.String getDescription()
java.lang.String getGUID()
java.util.List getConnectorBindingNames()
boolean supportsMultiSourceBindings()
isMultiSourceBindingEnabled()
to determine
if the model has been flagged so that the user can
actually assign multi connector bindngs.
boolean isMultiSourceBindingEnabled()
boolean isPhysical()
boolean isMaterialization()
boolean isVisible()
true
if the model is visible to the use
for querying
short getVisibility()
boolean requireConnectorBinding()
int getModelType()
java.lang.String getModelTypeName()
String
version of the model type.
java.lang.String getModelURI()
java.util.Date getDateVersioned()
java.lang.String getVersionedBy()
void enableMutliSourceBindings(boolean isEnabled)
true
.
isEnabled
- to determine if the
model is enabled.
Just because a model supports mutliple bindings, does not
mean it will be enabled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |