001 package railo.runtime.type; 002 003 import java.io.Serializable; 004 005 import railo.runtime.dump.Dumpable; 006 import railo.runtime.op.Castable; 007 008 /** 009 * represent a named function value for a functions 010 */ 011 public interface FunctionValue extends Castable,Serializable,Dumpable { 012 013 /** 014 * @return Returns the name. 015 * @deprecated use instead <code>getNameAsString();</code> 016 */ 017 public abstract String getName(); 018 019 /** 020 * @return Returns the name as string 021 */ 022 public String getNameAsString(); 023 024 /** 025 * @return Returns the name as key 026 */ 027 public Collection.Key getNameAsKey(); 028 029 /** 030 * @return Returns the value. 031 */ 032 public abstract Object getValue(); 033 034 }