org.objectweb.jonas_web.deployment.api.MethodDesc Class Reference

Collaboration diagram for org.objectweb.jonas_web.deployment.api.MethodDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MethodDesc (String name)
boolean isExcluded ()
boolean isUnchecked ()
void setExcluded ()
void setUnchecked ()
void addTransportGuarantee (String transportGuaranteeValue)
void addRole (String role, String transportGuaranteeRoleValue)
boolean hasRole ()
String getName ()
Iterator getRolesIterator ()
TransportGuaranteeDesc getTransportGuarantee ()
boolean equals (Object other)
int hashCode ()
String toString ()

Detailed Description

Defines a Method object. It manages exclued, unchecked methods with the right transportGuarantee. It also manages the roles which were defined for this method
Author:
Florent Benoit

Definition at line 39 of file MethodDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_web.deployment.api.MethodDesc.MethodDesc String  name  ) 
 

Constructor Build a Method with the right type

Parameters:
name the name of the method

Definition at line 77 of file MethodDesc.java.


Member Function Documentation

void org.objectweb.jonas_web.deployment.api.MethodDesc.addRole String  role,
String  transportGuaranteeRoleValue
 

Add role with its transportGuarantee to this method

Parameters:
role role to add
transportGuaranteeRoleValue transport guarantee for this role

Definition at line 131 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethodsOnRole().

void org.objectweb.jonas_web.deployment.api.MethodDesc.addTransportGuarantee String  transportGuaranteeValue  ) 
 

Defines the transport guarantee

Parameters:
transportGuaranteeValue the value

Definition at line 121 of file MethodDesc.java.

References org.objectweb.jonas_web.deployment.api.TransportGuaranteeDesc.addTransportValue().

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethods().

Here is the call graph for this function:

boolean org.objectweb.jonas_web.deployment.api.MethodDesc.equals Object  other  ) 
 

Defined the Equals method true if it is the same name

Parameters:
other the object to test if it is equals or not
Returns:
true if it is the same object

Definition at line 182 of file MethodDesc.java.

String org.objectweb.jonas_web.deployment.api.MethodDesc.getName  ) 
 

Gets the name of the Method

Returns:
name of the Method

Definition at line 152 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.getExcludedActions(), org.objectweb.jonas_web.deployment.api.MethodsDesc.getRoleMapActions(), org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedActions(), and org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedWebUserDataActionsRoleList().

Iterator org.objectweb.jonas_web.deployment.api.MethodDesc.getRolesIterator  ) 
 

Gets iterator on roles

Returns:
iterator on roles

Definition at line 161 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.getRoleMapActions().

TransportGuaranteeDesc org.objectweb.jonas_web.deployment.api.MethodDesc.getTransportGuarantee  ) 
 

Gets the transport guarantee

Returns:
transport guarantee

Definition at line 170 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedWebUserDataActionsRoleList().

int org.objectweb.jonas_web.deployment.api.MethodDesc.hashCode  ) 
 

Gets the hashcode for this object

Returns:
hashcode of this object

Definition at line 196 of file MethodDesc.java.

boolean org.objectweb.jonas_web.deployment.api.MethodDesc.hasRole  ) 
 

Test if there are roles for this method

Returns:
true if there are roles defined for this method

Definition at line 143 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.getExcludedActions(), org.objectweb.jonas_web.deployment.api.MethodsDesc.getRoleMapActions(), org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedActions(), and org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedWebUserDataActionsRoleList().

boolean org.objectweb.jonas_web.deployment.api.MethodDesc.isExcluded  ) 
 

Is this method excluded ?

Returns:
true is this method is excluded, false otherwise

Definition at line 88 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.getExcludedActions().

boolean org.objectweb.jonas_web.deployment.api.MethodDesc.isUnchecked  ) 
 

Is this method unchecked ?

Returns:
true is this method is unchecked, false otherwise

Definition at line 96 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedActions(), and org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedWebUserDataActionsRoleList().

void org.objectweb.jonas_web.deployment.api.MethodDesc.setExcluded  ) 
 

Set this method excluded

Definition at line 103 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethods().

void org.objectweb.jonas_web.deployment.api.MethodDesc.setUnchecked  ) 
 

Set this method unchecked

Definition at line 111 of file MethodDesc.java.

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethods().

String org.objectweb.jonas_web.deployment.api.MethodDesc.toString  ) 
 

String representation

Returns:
string representation of the pattern

Definition at line 205 of file MethodDesc.java.

References org.objectweb.jonas_web.deployment.api.TransportGuaranteeDesc.toString().

Referenced by org.objectweb.jonas_web.deployment.api.MethodsDesc.getExcludedActions(), and org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedActions().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:25 2005 for JOnAS by  doxygen 1.3.9.1