|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.ComponentBase
This class provides a convienience base class for the majority of the ExpressoComponent interfaces. Derive from this class if you wish to create a component that is not a component container.
If you derive from this class, the class expresso runtime system automatically looks in the same package as the component's class name. And looks for an xml file with the same class as your derived component.
| Constructor Summary | |
ComponentBase()
Default do nothing constructor |
|
ComponentBase(Containable parent)
Constructor that takes the parent container as the argument |
|
| Method Summary | |
ComponentMetadata |
getMetaData()
Retrieve the metadata for the component |
URL |
getMetadataLocation()
Return the metadata of this class. |
Containable |
getParent()
Retrieve reference to the component container |
void |
setMetaData(ComponentMetadata metadata)
Allows the metadata to be set by the system factory. |
void |
setParent(Containable parent)
Set the component container reference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentBase()
public ComponentBase(Containable parent)
parent - The parent container| Method Detail |
public ComponentMetadata getMetaData()
getMetaData in interface ExpressoComponentpublic Containable getParent()
getParent in interface ExpressoComponentpublic void setParent(Containable parent)
setParent in interface ExpressoComponentparent - the parent containerpublic void setMetaData(ComponentMetadata metadata)
setMetaData in interface Describablemetadata - the Metadata for this particular component.public URL getMetadataLocation()
getMetadataLocation in interface Describable
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||