ch.sahits.model.java
Interface IBeanMethod

All Known Implementing Classes:
BeanMethod

public interface IBeanMethod

Representing a method with only visibility modifiers

Since:
2.1.0
Author:
Andi Hotz, Sahits GmbH

Method Summary
 void addParameter(java.lang.String type, java.lang.String name)
          Add a new parameter
 java.lang.String getName()
          Retrieve the method name
 java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Object>> getParameters()
          Retrieve the list of parameters
 java.lang.Class<?> getReturnType()
          Retrieve the return type
 EVisibility getVisibilty()
          Retrieve the visibility
 void setName(java.lang.String name)
          Set the method name
 void setReturnType(java.lang.Class<?> returnType)
          Set the Return Type
 void setVisibility(EVisibility visibility)
          Set the visibility
 

Method Detail

getVisibilty

EVisibility getVisibilty()
Retrieve the visibility

Returns:
visibility

setVisibility

void setVisibility(EVisibility visibility)
Set the visibility

Parameters:
visibility -

getReturnType

java.lang.Class<?> getReturnType()
Retrieve the return type

Returns:
return type

setReturnType

void setReturnType(java.lang.Class<?> returnType)
Set the Return Type

Parameters:
returnType -

getParameters

java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Object>> getParameters()
Retrieve the list of parameters

Returns:
list of parameters

addParameter

void addParameter(java.lang.String type,
                  java.lang.String name)
Add a new parameter

Parameters:
type -
name -

getName

java.lang.String getName()
Retrieve the method name

Returns:
method name

setName

void setName(java.lang.String name)
Set the method name

Parameters:
name -