Package jadex.extension.rs.publish
Class MethodWrapper
- java.lang.Object
- 
- jadex.extension.rs.publish.MethodWrapper
 
- 
 public class MethodWrapper extends java.lang.ObjectHelper struct that saves a method and a method name. The method name can be different from the original name.
- 
- 
Constructor SummaryConstructors Constructor Description MethodWrapper(java.lang.reflect.Method method)Create a new method wrapper.MethodWrapper(java.lang.String name, java.lang.reflect.Method method)Create a new method wrapper.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Equal when name and parameters are equal.java.lang.reflect.MethodgetMethod()Get the method.java.lang.StringgetName()Get the name.inthashCode()Get the hash code.voidsetMethod(java.lang.reflect.Method method)Set the method.voidsetName(java.lang.String name)Set the name.
 
- 
- 
- 
Method Detail- 
getMethodpublic java.lang.reflect.Method getMethod() Get the method.- Returns:
- the method.
 
 - 
setMethodpublic void setMethod(java.lang.reflect.Method method) Set the method.- Parameters:
- method- The method to set.
 
 - 
getNamepublic java.lang.String getName() Get the name.- Returns:
- the name.
 
 - 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- The name to set.
 
 - 
hashCodepublic int hashCode() Get the hash code.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Equal when name and parameters are equal.- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-