org.apache.avalon.composition.model.impl
Class OverrideEntryModel
java.lang.Object
org.apache.avalon.composition.model.impl.DefaultEntryModel
org.apache.avalon.composition.model.impl.OverrideEntryModel
- All Implemented Interfaces:
- EntryModel
- public class OverrideEntryModel
- extends DefaultEntryModel
Utility class that enables assignment of an absolute value to a
context entry.
- Version:
- $Revision: 1.3 $ $Date: 2004/02/25 22:54:09 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverrideEntryModel
public OverrideEntryModel(EntryDescriptor descriptor,
Object value)
- Creation of a new overriding context entry.
- Parameters:
descriptor
- the context entry descriptorvalue
- the value to return for the entry
getValue
public Object getValue()
- Return the context entry value.
- Specified by:
getValue
in interface EntryModel
- Specified by:
getValue
in class DefaultEntryModel
- Returns:
- the context entry value
Copyright © The Apache Software Foundation. All Rights Reserved.