com.metamatrix.admin.objects
Class MMModel

java.lang.Object
  extended by com.metamatrix.admin.objects.MMAdminObject
      extended by com.metamatrix.admin.objects.MMModel
All Implemented Interfaces:
AdminObject, Model, java.io.Serializable

public class MMModel
extends MMAdminObject
implements Model

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.admin.objects.MMAdminObject
deployed, enabled, identifier, identifierParts, name, OBJECT_TYPE_CACHE, OBJECT_TYPE_CONNECTOR_BINDING, OBJECT_TYPE_CONNECTOR_TYPE, OBJECT_TYPE_DQP, OBJECT_TYPE_ENTITLEMENT, OBJECT_TYPE_EXTENSION_MODULE, OBJECT_TYPE_GROUP, OBJECT_TYPE_HOST, OBJECT_TYPE_LOG_CONFIGURATION, OBJECT_TYPE_MODEL, OBJECT_TYPE_PROCESS_OBJECT, OBJECT_TYPE_PROPERTY_DEFINITION, OBJECT_TYPE_QUEUE_WORKER_POOL, OBJECT_TYPE_REQUEST, OBJECT_TYPE_RESOURCE, OBJECT_TYPE_ROLE, OBJECT_TYPE_SESSION, OBJECT_TYPE_SOURCE_REQUEST, OBJECT_TYPE_SYSTEM_OBJECT, OBJECT_TYPE_USER, OBJECT_TYPE_VDB, OBJECTS_PACKAGE, registered, serialVersionUID
 
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Constructor Summary
MMModel(java.lang.String[] identifierParts)
          Construct a new MMModel
 
Method Summary
 java.util.List getConnectorBindingNames()
          Return the connector binding names for this Virtual Databse.
 java.lang.String getModelType()
          Retrieve the model type.
 java.lang.String getModelURI()
          Retrive the model URI.
 boolean isMaterialization()
          Determine whether this model is a Materialization Model
 boolean isPhysical()
          Determine if this model is a physical type.
 boolean isVisible()
          Determine whether this model is exposed for querying.
 void setConnectorBindingNames(java.util.List bindings)
           
 void setMaterialization(boolean isMaterialization)
           
 void setModelType(java.lang.String modelType)
           
 void setModelURI(java.lang.String modelURI)
           
 void setPhysical(boolean isPhysical)
           
 void setSupportsMultiSourceBindings(boolean supports)
           
 void setVisible(boolean isVisible)
           
 boolean supportsMultiSourceBindings()
          Determine whether this model can support more than one connector binding.
 java.lang.String toString()
          Get MetaMatrix Object as a String
 
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getObjectType, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isDeployed, isEnabled, isRegistered, setCreated, setCreatedBy, setDeployed, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.admin.api.objects.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Constructor Detail

MMModel

public MMModel(java.lang.String[] identifierParts)
Construct a new MMModel

Parameters:
identifierParts -
Method Detail

toString

public java.lang.String toString()
Description copied from class: MMAdminObject
Get MetaMatrix Object as a String

Specified by:
toString in class MMAdminObject
Returns:
String for display purposes
See Also:
Object.toString()

getConnectorBindingNames

public java.util.List getConnectorBindingNames()
Description copied from interface: Model
Return the connector binding names for this Virtual Databse.

Specified by:
getConnectorBindingNames in interface Model
Returns:
connector bindings bound to this model.
Since:
4.3
See Also:
Model.getConnectorBindingNames()

isPhysical

public boolean isPhysical()
Description copied from interface: Model
Determine if this model is a physical type.

Specified by:
isPhysical in interface Model
Returns:
true iff it contains physical group(s).
Since:
4.3
See Also:
Model.isPhysical()

isVisible

public boolean isVisible()
Description copied from interface: Model
Determine whether this model is exposed for querying.

Specified by:
isVisible in interface Model
Returns:
true iff the model is visible for querying.
Since:
4.3
See Also:
Model.isVisible()

getModelType

public java.lang.String getModelType()
Description copied from interface: Model
Retrieve the model type. TODO: one of ...

Specified by:
getModelType in interface Model
Returns:
model type
Since:
4.3
See Also:
Model.getModelType()

getModelURI

public java.lang.String getModelURI()
Description copied from interface: Model
Retrive the model URI.

Specified by:
getModelURI in interface Model
Returns:
model URI
Since:
4.3
See Also:
Model.getModelURI()

supportsMultiSourceBindings

public boolean supportsMultiSourceBindings()
Description copied from interface: Model
Determine whether this model can support more than one connector binding.

Specified by:
supportsMultiSourceBindings in interface Model
Returns:
true iff this model supports multi-source bindings
Since:
4.3
See Also:
Model.supportsMultiSourceBindings()

setConnectorBindingNames

public void setConnectorBindingNames(java.util.List bindings)
Parameters:
bindings -

setSupportsMultiSourceBindings

public void setSupportsMultiSourceBindings(boolean supports)
Parameters:
supports -
Since:
4.3

setPhysical

public void setPhysical(boolean isPhysical)
Parameters:
isPhysical - Whether this model is visible.
Since:
4.3

setVisible

public void setVisible(boolean isVisible)
Parameters:
isVisible - Whether this model is visible.
Since:
4.3

setModelType

public void setModelType(java.lang.String modelType)
Parameters:
modelType - The modelType to set.
Since:
4.3

setModelURI

public void setModelURI(java.lang.String modelURI)
Parameters:
modelURI - The modelURI to set.
Since:
4.3

isMaterialization

public boolean isMaterialization()
Description copied from interface: Model
Determine whether this model is a Materialization Model

Specified by:
isMaterialization in interface Model
Returns:
Returns whether the model is a materialization.
Since:
4.3

setMaterialization

public void setMaterialization(boolean isMaterialization)
Parameters:
isMaterialization - whether the model is a materialization..
Since:
4.3


Copyright © 2009. All Rights Reserved.