org.apache.cocoon.portal.factory.impl
Class AbstractProducible
java.lang.Object
org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
org.apache.cocoon.portal.factory.impl.AbstractProducible
- All Implemented Interfaces:
- Cloneable, Aspectalizable, Producible
- Direct Known Subclasses:
- AbstractLayout, CopletData, CopletInstanceData
public abstract class AbstractProducible
- extends AbstractAspectalizable
- implements Producible
This interface marks an object that can be created by a factory.
- Version:
- CVS $Id: AbstractProducible.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
name
protected String name
id
protected String id
description
protected transient ProducibleDescription description
AbstractProducible
public AbstractProducible()
getName
public String getName()
- Description copied from interface:
Producible
- The name given from the factory
- Specified by:
getName
in interface Producible
- Returns:
- The configured name
setName
public void setName(String string)
- Parameters:
string
-
setDescription
public void setDescription(ProducibleDescription description)
- Set the layout description
- Specified by:
setDescription
in interface Producible
getId
public String getId()
- Get the unique id of this object
- Specified by:
getId
in interface Producible
- Returns:
- String Unique id
setId
public void setId(String id)
- Set the unique id of this object
initialize
public void initialize(String name,
String id)
- Initialize the object. This should only be called once directly
after the creation
- Specified by:
initialize
in interface Producible
clone
protected Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class AbstractAspectalizable
- Throws:
CloneNotSupportedException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.