com.ibm.commerce.server
Class ComponentDescriptor

java.lang.Object
  |
  +--com.ibm.commerce.server.ComponentDescriptor

public class ComponentDescriptor
extends java.lang.Object

This class is used internally to store information about a component.


Field Summary
protected  java.lang.String compClassName
           
protected  boolean compEnabled
           
protected  java.lang.String compName
           
protected  ComponentConfiguration component
           
protected  org.w3c.dom.Element compProp
           
 
Constructor Summary
ComponentDescriptor(java.lang.String name, java.lang.String className)
          ComponentDescriptor constructor comment.
 
Method Summary
 java.lang.String getCompClassName()
          Gets the class name for the component.
 boolean getCompEnabled()
          Returns the enabled status of this component.
 int getCompHashcode()
          Gets the name of the component.
 java.lang.String getCompName()
          Gets the name of the component.
 ComponentConfiguration getComponent()
          Gets the component object.
 org.w3c.dom.Element getCompProperty()
          Gets the dom node that describes the property for this component.
 void setCompClassName(java.lang.String newValue)
          Sets the class name for the component.
 void setCompEnabled(boolean enabled)
          Sets the enabled status of this component.
 void setCompName(java.lang.String newValue)
          Sets the name for the component.
 void setComponent(ComponentConfiguration aComponent)
          Sets the component object.
 void setCompProperty(org.w3c.dom.Element node)
          Sets the property node for this component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compClassName

protected java.lang.String compClassName

compEnabled

protected boolean compEnabled

compName

protected java.lang.String compName

component

protected ComponentConfiguration component

compProp

protected org.w3c.dom.Element compProp
Constructor Detail

ComponentDescriptor

public ComponentDescriptor(java.lang.String name,
                           java.lang.String className)
ComponentDescriptor constructor comment.
Method Detail

getCompClassName

public java.lang.String getCompClassName()
Gets the class name for the component.
Returns:
String

getCompEnabled

public boolean getCompEnabled()
Returns the enabled status of this component.
Returns:
boolean

getCompHashcode

public int getCompHashcode()
Gets the name of the component.
Returns:
String

getCompName

public java.lang.String getCompName()
Gets the name of the component.
Returns:
String

getComponent

public ComponentConfiguration getComponent()
Gets the component object.
Returns:
ComponentConfiguration

getCompProperty

public org.w3c.dom.Element getCompProperty()
Gets the dom node that describes the property for this component.
Returns:
org.w3c.dom.Element

setCompClassName

public void setCompClassName(java.lang.String newValue)
Sets the class name for the component.
Parameters:
name - String

setCompEnabled

public void setCompEnabled(boolean enabled)
Sets the enabled status of this component.
Parameters:
enabled - boolean

setCompName

public void setCompName(java.lang.String newValue)
Sets the name for the component.
Parameters:
name - String

setComponent

public void setComponent(ComponentConfiguration aComponent)
Sets the component object.
Parameters:
aComponent - ComponentConfiguration

setCompProperty

public void setCompProperty(org.w3c.dom.Element node)
Sets the property node for this component.
Parameters:
org.w3c.dom.Element -