com.metamatrix.common.config.model
Class BasicVMComponentDefn

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.BasicVMComponentDefn
All Implemented Interfaces:
ComponentDefn, ComponentObject, VMComponentDefn, BaseObject, PropertiedObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class BasicVMComponentDefn
extends BasicComponentDefn
implements VMComponentDefn, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.metamatrix.common.config.api.VMComponentDefn
VM_COMPONENT_TYPE_ID
 
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 BasicVMComponentDefn(BasicVMComponentDefn component)
           
  BasicVMComponentDefn(ConfigurationID configurationID, HostID hostID, VMComponentDefnID componentID, ComponentTypeID typeID)
           
 
Method Summary
 java.lang.Object clone()
          Return a deep cloned instance of this object.
 java.lang.String getBindAddress()
          Return the address that should be used to bind to the host
 HostID getHostID()
           
 java.lang.String getPort()
           
 boolean isEnabled()
          Returns true if the component object is enabled for use.
 
Methods inherited from class com.metamatrix.common.config.model.BasicComponentDefn
getConfigurationID, isDependentUpon, 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
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.ComponentDefn
getConfigurationID, isEssential
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentObject
accept, getComponentTypeID, getCreatedBy, getCreatedDate, getDescription, getLastChangedBy, getLastChangedDate, getName, getProperties, getProperty, isDependentUpon
 
Methods inherited from interface com.metamatrix.common.namedobject.BaseObject
getFullName, getID
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

BasicVMComponentDefn

public BasicVMComponentDefn(ConfigurationID configurationID,
                            HostID hostID,
                            VMComponentDefnID componentID,
                            ComponentTypeID typeID)

BasicVMComponentDefn

protected BasicVMComponentDefn(BasicVMComponentDefn component)
Method Detail

clone

public java.lang.Object clone()
Return a deep cloned instance of this object. Subclasses must override this method.

Specified by:
clone in interface BaseObject
Overrides:
clone in class BasicObject
Returns:
the object that is the clone of this instance.

getHostID

public HostID getHostID()
Specified by:
getHostID in interface VMComponentDefn

isEnabled

public boolean isEnabled()
Returns true if the component object is enabled for use.

Specified by:
isEnabled in interface ComponentDefn
Specified by:
isEnabled in interface VMComponentDefn
Overrides:
isEnabled in class BasicComponentDefn
Returns:
Since:
4.2

getPort

public java.lang.String getPort()
Specified by:
getPort in interface VMComponentDefn

getBindAddress

public java.lang.String getBindAddress()
Return the address that should be used to bind to the host

Specified by:
getBindAddress in interface VMComponentDefn
Returns:
Since:
4.3


Copyright © 2009. All Rights Reserved.