org.apache.avalon.composition.model.impl
Class DefaultEntryModel

java.lang.Object
  extended byorg.apache.avalon.composition.model.impl.DefaultEntryModel
All Implemented Interfaces:
EntryModel
Direct Known Subclasses:
DefaultConstructorModel, DefaultImportModel, OverrideEntryModel

public abstract class DefaultEntryModel
extends Object
implements EntryModel

Abstract implementation of a the context entry model.

Version:
$Revision: 1.4 $ $Date: 2004/02/10 16:23:33 $
Author:
Avalon Development Team

Constructor Summary
DefaultEntryModel(EntryDescriptor descriptor)
          Creation of a new context entry import model.
 
Method Summary
 String getKey()
          Return the context entry key.
abstract  Object getValue()
          Return the context entry value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEntryModel

public DefaultEntryModel(EntryDescriptor descriptor)
Creation of a new context entry import model.

Parameters:
descriptor - the context entry descriptor
Method Detail

getKey

public String getKey()
Return the context entry key.

Specified by:
getKey in interface EntryModel
Returns:
the key

getValue

public abstract Object getValue()
                         throws ModelException
Return the context entry value.

Specified by:
getValue in interface EntryModel
Returns:
the context entry value
Throws:
ModelException


Copyright © The Apache Software Foundation. All Rights Reserved.