com.metamatrix.admin.objects
Class MMResource

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

public class MMResource
extends MMAdminObject
implements Resource

Dataholder for a resource.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.admin.objects.MMAdminObject
deployed, enabled, identifier, identifierParts, name, registered
 
Fields inherited from interface com.metamatrix.admin.api.Resource
RESOURCE_POOL
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Constructor Summary
MMResource(java.lang.String[] identifierParts)
          Constructor
 
Method Summary
 java.lang.String getResourceType()
          Get the Resource Type for this Resource
 void setResourceType(java.lang.String resourceType)
          Set the Resource 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, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isEnabled, isRegistered, setCreated, setCreatedBy, 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 org.teiid.adminapi.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Constructor Detail

MMResource

public MMResource(java.lang.String[] identifierParts)
Constructor

Parameters:
identifierParts - of the resource
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
See Also:
Object.toString()

getResourceType

public java.lang.String getResourceType()
Get the Resource Type for this Resource

Returns:
Returns the String value of the Resource Type for this Resouce.
Since:
4.3

setResourceType

public void setResourceType(java.lang.String resourceType)
Set the Resource Type

Parameters:
resourceType - The Resource Type to set.
Since:
4.3


Copyright © 2009. All Rights Reserved.