org.apache.lenya.ac
Interface Item

All Superinterfaces:
org.apache.avalon.framework.logger.LogEnabled
All Known Subinterfaces:
Group, IPRange, Role, User

public interface Item
extends org.apache.avalon.framework.logger.LogEnabled

An item can be initialized from a configuration.


Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
          Configures this item.
 java.lang.String getDescription()
          Returns the description.
 java.lang.String getId()
          Returns the ID.
 ItemManager getItemManager()
           
 java.lang.String getName()
          Returns the name.
 void setDescription(java.lang.String description)
          Sets the description.
 void setName(java.lang.String name)
          Sets the name.
 
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled
enableLogging
 

Method Detail

getId

java.lang.String getId()
Returns the ID.

Returns:
A string.

getName

java.lang.String getName()
Returns the name.

Returns:
A string.

setName

void setName(java.lang.String name)
Sets the name.

Parameters:
name - A string.

getDescription

java.lang.String getDescription()
Returns the description.

Returns:
A string.

setDescription

void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - A string.

configure

void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Configures this item.

Parameters:
configuration - The configuration.
Throws:
org.apache.avalon.framework.configuration.ConfigurationException - when something went wrong.

getItemManager

ItemManager getItemManager()
Returns:
The item manager this item belongs to.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.