com.opencms.template.cache
Class CmsMethodLink

java.lang.Object
  |
  +--com.opencms.template.cache.CmsMethodLink

public class CmsMethodLink
extends Object

An instance of CmsMethodLink is a link to a method. The link contains the method name and the parameter for the method.

Author:
Hanjo Riege

Constructor Summary
CmsMethodLink(String methodName, String methodParameter)
          Creates a new method-Link.
 
Method Summary
 String getMethodeName()
          Returns the name of the method to link to.
 String getMethodParameter()
          Returns the parameter for the method.
 String toString()
          Returns the name of the method and the parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CmsMethodLink

public CmsMethodLink(String methodName,
                     String methodParameter)
Creates a new method-Link.

Parameters:
methodName - - the name of the method to link to.
Method Detail

toString

public String toString()
Returns the name of the method and the parameter.

Overrides:
toString in class Object
Returns:
the name of the method with the parameter.

getMethodeName

public String getMethodeName()
Returns the name of the method to link to.

Returns:
the name of the method to link to.

getMethodParameter

public String getMethodParameter()
Returns the parameter for the method.

Returns:
the parameter for the method.