java.lang.Object | +--com.ibm.commerce.server.ComponentDescriptor
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
protected java.lang.String compName
protected java.lang.String compClassName
protected org.w3c.dom.Element compProp
protected boolean compEnabled
protected ComponentConfiguration component
Constructor Detail |
---|
public ComponentDescriptor(java.lang.String name, java.lang.String className)
Method Detail |
---|
public java.lang.String getCompClassName()
public boolean getCompEnabled()
public int getCompHashcode()
public java.lang.String getCompName()
public ComponentConfiguration getComponent()
public org.w3c.dom.Element getCompProperty()
public void setCompClassName(java.lang.String newValue)
newValue
- class name for the componentpublic void setCompEnabled(boolean enabled)
enabled
- status of this componentpublic void setCompName(java.lang.String newValue)
newValue
- name for the componentpublic void setComponent(ComponentConfiguration aComponent)
aComponent
- component objectpublic void setCompProperty(org.w3c.dom.Element node)