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
           
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Constructor Summary
ComponentDescriptor(java.lang.String name, java.lang.String className)
          Constructor for ComponentDescriptor.
 
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 hashcode of component name.
 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
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

compName

protected java.lang.String compName

compClassName

protected java.lang.String compClassName

compProp

protected org.w3c.dom.Element compProp

compEnabled

protected boolean compEnabled

component

protected ComponentConfiguration component
Constructor Detail

ComponentDescriptor

public ComponentDescriptor(java.lang.String name,
                           java.lang.String className)
Constructor for ComponentDescriptor.
Method Detail

getCompClassName

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

getCompEnabled

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

getCompHashcode

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

getCompName

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

getComponent

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

getCompProperty

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

setCompClassName

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

setCompEnabled

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

setCompName

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

setComponent

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

setCompProperty

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