com.metamatrix.common.config.model
Class BasicExtensionModule

java.lang.Object
  extended by com.metamatrix.common.namedobject.BasicObject
      extended by com.metamatrix.common.config.model.BasicComponentObject
          extended by com.metamatrix.common.config.model.BasicComponentDefn
              extended by com.metamatrix.common.config.model.BasicExtensionModule
All Implemented Interfaces:
ComponentDefn, ComponentObject, ExtensionModule, BaseObject, PropertiedObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class BasicExtensionModule
extends BasicComponentDefn
implements ExtensionModule

Since:
4.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.metamatrix.common.config.api.ExtensionModule
CONFIGURATION_MODEL_TYPE, FUNCTION_DEFINITION_TYPE, JAR_FILE_TYPE, METADATA_KEYWORD_TYPE, METAMODEL_EXTENSION_TYPE, MISC_FILE_TYPE, VDB_FILE_TYPE
 
Fields inherited from interface com.metamatrix.common.config.api.ComponentDefn
AUTHPROVIDER_COMPONENT_CODE, CONFIGURATION_COMPONENT_CODE, CONNECTOR_COMPONENT_CODE, DEPLOYED_COMPONENT_CODE, HOST_COMPONENT_CODE, PRODUCT_COMPONENT_CODE, RESOURCE_DESCRIPTOR_COMPONENT_CODE, SERVICE_COMPONENT_CODE, SHARED_RESOURCE_COMPONENT_CODE, VM_COMPONENT_CODE
 
Constructor Summary
protected BasicExtensionModule(BasicExtensionModule component)
           
  BasicExtensionModule(java.lang.String name, java.lang.String description, byte[] contents)
           
  BasicExtensionModule(java.lang.String name, java.lang.String type, java.lang.String description, byte[] contents)
           
 
Method Summary
 byte[] getFileContents()
           
 java.lang.String getModuleType()
           
 
Methods inherited from class com.metamatrix.common.config.model.BasicComponentDefn
getConfigurationID, isDependentUpon, isEnabled, isEssential
 
Methods inherited from class com.metamatrix.common.config.model.BasicComponentObject
accept, addProperties, addProperty, getComponentTypeID, getCreatedBy, getCreatedDate, getCreatedDateString, getDescription, getEditableProperties, getLastChangedBy, getLastChangedDate, getLastChangedDateString, getProperties, getProperty, removeProperties, removeProperty, setCreatedBy, setCreatedDate, setDescription, setLastChangedBy, setLastChangedDate, setProperties, toString
 
Methods inherited from class com.metamatrix.common.namedobject.BasicObject
clone, compareTo, equals, getFullName, getID, getName, hashCode, setID
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.common.config.api.ExtensionModule
getDescription
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentDefn
getConfigurationID, isEnabled, isEssential
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentObject
accept, getComponentTypeID, getCreatedBy, getCreatedDate, getLastChangedBy, getLastChangedDate, getName, getProperties, getProperty, isDependentUpon
 
Methods inherited from interface com.metamatrix.common.namedobject.BaseObject
clone, getFullName, getID
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

BasicExtensionModule

public BasicExtensionModule(java.lang.String name,
                            java.lang.String type,
                            java.lang.String description,
                            byte[] contents)

BasicExtensionModule

public BasicExtensionModule(java.lang.String name,
                            java.lang.String description,
                            byte[] contents)

BasicExtensionModule

protected BasicExtensionModule(BasicExtensionModule component)
Method Detail

getFileContents

public byte[] getFileContents()
Specified by:
getFileContents in interface ExtensionModule
Returns:
byte array of file contents
Since:
4.3
See Also:
ExtensionModule.getFileContents()

getModuleType

public java.lang.String getModuleType()
Specified by:
getModuleType in interface ExtensionModule
Returns:
String of the Module Type for this Extension Module
Since:
4.3
See Also:
ExtensionModule.getModuleType()


Copyright © 2009. All Rights Reserved.