com.metamatrix.admin.objects
Class MMExtensionModule

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

public final class MMExtensionModule
extends MMAdminObject
implements ExtensionModule

A simple Extension Modules for the Admin API

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_SERVICE, OBJECT_TYPE_SESSION, OBJECT_TYPE_SYSTEM_OBJECT, OBJECT_TYPE_TRANSACTION, OBJECT_TYPE_USER, OBJECT_TYPE_VDB, OBJECTS_PACKAGE, registered, serialVersionUID
 
Fields inherited from interface com.metamatrix.admin.api.objects.ExtensionModule
CONFIGURATION_MODEL_TYPE, FUNCTION_DEFINITION_TYPE, JAR_FILE_TYPE, KEYSTORE_FILE_TYPE, METADATA_KEYWORD_TYPE, METAMODEL_EXTENSION_TYPE, MISC_FILE_TYPE, VDB_FILE_TYPE
 
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Constructor Summary
MMExtensionModule(java.lang.String[] identifierParts)
          Create a new MMExtensionModule
 
Method Summary
 java.lang.String getDescription()
           
 byte[] getFileContents()
           
 java.lang.String getModuleType()
           
 void setDescription(java.lang.String description)
           
 void setFileContents(byte[] contents)
           
 void setModuleType(java.lang.String type)
           
 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

MMExtensionModule

public MMExtensionModule(java.lang.String[] identifierParts)
Create a new MMExtensionModule

Parameters:
identifierParts -
Since:
4.3
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ExtensionModule
Returns:
description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description -

getFileContents

public byte[] getFileContents()
Specified by:
getFileContents in interface ExtensionModule
Returns:
byte array of file contents

setFileContents

public void setFileContents(byte[] contents)
Parameters:
contents -

getModuleType

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

setModuleType

public void setModuleType(java.lang.String type)
Parameters:
type -

toString

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

Specified by:
toString in class MMAdminObject
Returns:
a String of this object for display.
See Also:
Object.toString()


Copyright © 2009. All Rights Reserved.