01: /**********************************************************************
02: Copyright (c) 2005 Erik Bengtson and others. All rights reserved.
03: Licensed under the Apache License, Version 2.0 (the "License");
04: you may not use this file except in compliance with the License.
05: You may obtain a copy of the License at
06:
07: http://www.apache.org/licenses/LICENSE-2.0
08:
09: Unless required by applicable law or agreed to in writing, software
10: distributed under the License is distributed on an "AS IS" BASIS,
11: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: See the License for the specific language governing permissions and
13: limitations under the License.
14:
15:
16: Contributors:
17: 2005 Andy Jefferson - added embedded Map update methods
18: ...
19: **********************************************************************/package org.jpox.sco;
20:
21: /**
22: * Representation of a wrapper for a mutable Map SCO type supported by JPOX.
23: *
24: * @version $Revision: 1.5 $
25: **/
26: public interface SCOMap extends SCOContainer {
27: /**
28: * Method to update an embedded key stored in the map.
29: * @param key The key
30: * @param fieldNumber Number of field in the element
31: * @param newValue the new value for this field
32: */
33: public void updateEmbeddedKey(Object key, int fieldNumber,
34: Object newValue);
35:
36: /**
37: * Method to update an embedded value stored in the map.
38: * @param value The value
39: * @param fieldNumber Number of field in the element
40: * @param newValue the new value for this field
41: */
42: public void updateEmbeddedValue(Object value, int fieldNumber,
43: Object newValue);
44: }
|