| java.lang.Object org.netbeans.modules.uml.integration.ide.events.MethodTransaction
MethodTransaction | public class MethodTransaction extends Object (Code) | | The MethodTransaction is use to maintain a context when updating methods.
The MethodTransaction will locate the method in Describes database.
When locating the method the class symbol specified by the SymbolTransaction
will be searched for any attributes that match the requested attribute.
|
Field Summary | |
IOperation | mOpe The attribute that this context is managing. |
MethodTransaction | public MethodTransaction()(Code) | | Creates new MethodTransaction
|
MethodTransaction | public MethodTransaction(SymbolTransaction trans, ConstructorInfo method)(Code) | | Create a new MemberTransaction and specify the symbol to search and
method to find. If the method will be created if one is needed.
Parameters: trans - The symbol transaction used when searching for the memeber. Parameters: member - The information required to locate the method. |
createOperation | protected IOperation createOperation(IClassifier sym, String name, MethodParameterInfo[] params)(Code) | | Sets the Describe attribute that defines method. A Describe symbol
is search for a method that matches the requested data member name and
parameters. If a Describe attribute is not found then one is created for
the method.
Parameters: trans - The symbol transaction used to locate the method. Parameters: member - The information needed to locate the method. Parameters: params - The parameter information. |
getOperation | public IOperation getOperation()(Code) | | Retrieve the Describe representation of the method.
In the future this may be abstracted.
|
setOperation | public void setOperation(IOperation attr)(Code) | | Set the Describe representation of the method
In the future this may be abstracted.
|
|
|