net.sf.mmm.util.pojo.path.api
Interface PojoPathNamedFunction<IN,VALUE>

Type Parameters:
IN - is the generic input-type.
VALUE - is the generic value-type
All Superinterfaces:
PojoPathFunction<IN,VALUE>
All Known Implementing Classes:
PojoPathNamedFunctionToString

@ComponentSpecification(plugin=true)
public interface PojoPathNamedFunction<IN,VALUE>
extends PojoPathFunction<IN,VALUE>

This is the interface for a PojoPathFunction that has a name. This allows to register such functions as plugin via Inject.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Field Summary
 
Fields inherited from interface net.sf.mmm.util.pojo.path.api.PojoPathFunction
FUNCTION_NAME_PREFIX
 
Method Summary
 String getName()
          This method gets the name of this function.
 
Methods inherited from interface net.sf.mmm.util.pojo.path.api.PojoPathFunction
create, get, getInputClass, getValueClass, isDeterministic, set
 

Method Detail

getName

String getName()
This method gets the name of this function.
ATTENTION:
The name has to be unique for all functions registered to a PojoPathNavigator implementation.
E.g. if the name is "foo", then the function can be invoked via "@foo" as segment.

Returns:
the name of the function excluding the PojoPathFunction.FUNCTION_NAME_PREFIX.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.