org.ozoneDB.tools.OPP.srcgen.resolve
Class UpdateMethodBagMapAdapter
java.lang.Object
org.ozoneDB.tools.OPP.srcgen.resolve.UpdateMethodBagMapAdapter
- All Implemented Interfaces:
- MethodResolver.UpdateMethodBag
- public class UpdateMethodBagMapAdapter
- extends java.lang.Object
- implements MethodResolver.UpdateMethodBag
User: Jocke
Date: 2003-dec-30
Time: 00:57:22
Field Summary |
private java.util.Map |
methods
|
Method Summary |
void |
addMethod(java.lang.String methodName,
int lockLevel)
Add a method to the bag, if the method exists with a "lower" lockLevel (read < write) it will be upgraded.
|
boolean |
contains(java.lang.String methodName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methods
private java.util.Map methods
UpdateMethodBagMapAdapter
public UpdateMethodBagMapAdapter(java.util.Map methods)
addMethod
public void addMethod(java.lang.String methodName,
int lockLevel)
- Add a method to the bag, if the method exists with a "lower" lockLevel (read < write) it will be upgraded.
if the method exists with a "higher" lockLevel it will be left as is.
- Specified by:
addMethod
in interface MethodResolver.UpdateMethodBag
- Parameters:
methodName
- The method to addlockLevel
- The locklevel to assign to the method
contains
public boolean contains(java.lang.String methodName)
- Specified by:
contains
in interface MethodResolver.UpdateMethodBag
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.