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 signature.compare.model.IGenericDeclarationDelta;
20 import signature.compare.model.ITypeVariableDefinitionDelta;
21 import signature.compare.model.IUpperBoundsDelta;
22 import signature.model.ITypeVariableDefinition;
23 
24 public class SigTypeVariableDefinitionDelta extends
25         SigDelta<ITypeVariableDefinition> implements
26         ITypeVariableDefinitionDelta {
27 
28     private IUpperBoundsDelta upperBoundsDelta;
29     private IGenericDeclarationDelta genericDeclarationDelta;
30 
SigTypeVariableDefinitionDelta(ITypeVariableDefinition from, ITypeVariableDefinition to)31     public SigTypeVariableDefinitionDelta(ITypeVariableDefinition from,
32             ITypeVariableDefinition to) {
33         super(from, to);
34     }
35 
getUpperBoundsDelta()36     public IUpperBoundsDelta getUpperBoundsDelta() {
37         return upperBoundsDelta;
38     }
39 
setUpperBoundsDelta(IUpperBoundsDelta upperBoundsDelta)40     public void setUpperBoundsDelta(IUpperBoundsDelta upperBoundsDelta) {
41         this.upperBoundsDelta = upperBoundsDelta;
42     }
43 
getGenericDeclarationDelta()44     public IGenericDeclarationDelta getGenericDeclarationDelta() {
45         return genericDeclarationDelta;
46     }
47 
setGenericDeclarationDelta( IGenericDeclarationDelta genericDeclarationDelta)48     public void setGenericDeclarationDelta(
49             IGenericDeclarationDelta genericDeclarationDelta) {
50         this.genericDeclarationDelta = genericDeclarationDelta;
51     }
52 }
53