1 /*
2  * Copyright (C) 2009 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package signature.compare.model.impl;
18 
19 import java.util.Set;
20 
21 import signature.compare.model.IParameterizedTypeDelta;
22 import signature.compare.model.ITypeReferenceDelta;
23 import signature.model.IParameterizedType;
24 
25 public class SigParameterizedTypeDelta extends SigTypeDelta<IParameterizedType>
26         implements IParameterizedTypeDelta {
27 
28     private ITypeReferenceDelta<?> ownerTypeDelta;
29     private ITypeReferenceDelta<?> rawTypeDelta;
30     private Set<ITypeReferenceDelta<?>> argumentTypeDeltas;
31 
SigParameterizedTypeDelta(IParameterizedType from, IParameterizedType to)32     public SigParameterizedTypeDelta(IParameterizedType from,
33             IParameterizedType to) {
34         super(from, to);
35     }
36 
getOwnerTypeDelta()37     public ITypeReferenceDelta<?> getOwnerTypeDelta() {
38         return ownerTypeDelta;
39     }
40 
setOwnerTypeDelta(ITypeReferenceDelta<?> ownerTypeDelta)41     public void setOwnerTypeDelta(ITypeReferenceDelta<?> ownerTypeDelta) {
42         this.ownerTypeDelta = ownerTypeDelta;
43     }
44 
getRawTypeDelta()45     public ITypeReferenceDelta<?> getRawTypeDelta() {
46         return rawTypeDelta;
47     }
48 
setRawTypeDelta(ITypeReferenceDelta<?> rawTypeDelta)49     public void setRawTypeDelta(ITypeReferenceDelta<?> rawTypeDelta) {
50         this.rawTypeDelta = rawTypeDelta;
51     }
52 
getArgumentTypeDeltas()53     public Set<ITypeReferenceDelta<?>> getArgumentTypeDeltas() {
54         return argumentTypeDeltas;
55     }
56 
setArgumentTypeDeltas( Set<ITypeReferenceDelta<?>> argumentTypeDeltas)57     public void setArgumentTypeDeltas(
58             Set<ITypeReferenceDelta<?>> argumentTypeDeltas) {
59         this.argumentTypeDeltas = argumentTypeDeltas;
60     }
61 }
62