com.metamatrix.common.config.api
Interface ProductType

All Superinterfaces:
BaseObject, java.lang.Cloneable, java.lang.Comparable, ComponentType
All Known Implementing Classes:
BasicProductType

public interface ProductType
extends ComponentType

A Product, in this context, is simply a named collection of Service types. For example, the MetaMatrix Server product has these service types: Query service, Transaction service, and RuntimeMetadata service.

A Product is a ComponentType subclass; it is a ComponentType, but has references to other ComponentTypes (specifically, ComponentTypes representing types of services). Since it is a ComponentType, it can be thought of as representing a type of Product (either Platform, MetaData Server, or MetaMatrix Server).

Note: Product type names where moved to MetaMatrixProductVersion in version 5.0 so that other classes that don't have a dependency on com.metamatrix.common can reference them.


Field Summary
static java.lang.String COMPONENT_TYPE_NAME
           
static ComponentTypeID PRODUCT_SUPER_TYPE_ID
           
static ComponentTypeID PRODUCT_TYPE_ID
           
 
Fields inherited from interface com.metamatrix.common.config.api.ComponentType
AUTHPROVIDER_COMPONENT_TYPE_CODE, CONFIGURATION_COMPONENT_TYPE_CODE, CONNECTOR_COMPONENT_TYPE_CODE, DEPLOYED_COMPONENT_TYPE_CODE, HOST_COMPONENT_TYPE_CODE, PRODUCT_COMPONENT_TYPE_CODE, PSC_COMPONENT_TYPE_CODE, RESOURCE_COMPONENT_TYPE_CODE, SERVICE_COMPONENT_TYPE_CODE, VM_COMPONENT_TYPE_CODE
 
Method Summary
 boolean contains(ComponentTypeID componentTypeID)
          Returns true if thie component type is contained in this instance of the product type.
 java.util.Collection getComponentTypeIDs()
          Returns a Collection of ComponentTypeID objects, each representing a type of service that this Product is comprised of
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentType
accept, getComponentTypeCode, getComponentTypeDefinition, getComponentTypeDefinitions, getCreatedBy, getCreatedDate, getDefaultPropertyValues, getDefaultValue, getDescription, getLastChangedBy, getLastChangedDate, getMaskedPropertyNames, getParentComponentTypeID, getSuperComponentTypeID, isDeployable, isDeprecated, isMonitored, isOfConnectorProductType, isOfTypeConnector, isOfTypeXAConnector
 
Methods inherited from interface com.metamatrix.common.namedobject.BaseObject
clone, getFullName, getID, getName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

COMPONENT_TYPE_NAME

static final java.lang.String COMPONENT_TYPE_NAME
See Also:
Constant Field Values

PRODUCT_TYPE_ID

static final ComponentTypeID PRODUCT_TYPE_ID

PRODUCT_SUPER_TYPE_ID

static final ComponentTypeID PRODUCT_SUPER_TYPE_ID
Method Detail

getComponentTypeIDs

java.util.Collection getComponentTypeIDs()
Returns a Collection of ComponentTypeID objects, each representing a type of service that this Product is comprised of

Returns:
Collection of ComponentTypeID objects

contains

boolean contains(ComponentTypeID componentTypeID)
Returns true if thie component type is contained in this instance of the product type.

Parameters:
componentTypeID - is the id of the component type to check for.
Returns:
boolean is true if the component type is contained in the product type


Copyright © 2009. All Rights Reserved.