Home | History | Annotate | Download | only in impl
      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.IAnnotationDelta;
     20 import signature.compare.model.IAnnotationFieldDelta;
     21 import signature.compare.model.IClassDefinitionDelta;
     22 import signature.compare.model.IConstructorDelta;
     23 import signature.compare.model.IEnumConstantDelta;
     24 import signature.compare.model.IFieldDelta;
     25 import signature.compare.model.IMethodDelta;
     26 import signature.compare.model.IModifierDelta;
     27 import signature.compare.model.ITypeReferenceDelta;
     28 import signature.compare.model.ITypeVariableDefinitionDelta;
     29 import signature.model.IClassDefinition;
     30 
     31 import java.util.Set;
     32 
     33 public class SigClassDefinitionDelta extends
     34         SigTypeDefinitionDelta<IClassDefinition> implements
     35         IClassDefinitionDelta {
     36 
     37     public SigClassDefinitionDelta(IClassDefinition from, IClassDefinition to) {
     38         super(from, to);
     39     }
     40 
     41     private Set<IAnnotationFieldDelta> annotationFieldDeltas;
     42     private Set<IConstructorDelta> constructorDeltas;
     43     private Set<IEnumConstantDelta> enumConstantDeltas;
     44     private Set<IFieldDelta> fieldDeltas;
     45     private Set<ITypeReferenceDelta<?>> interfaceDeltas;
     46     private Set<IMethodDelta> methodDeltas;
     47     private Set<IModifierDelta> modifierDeltas;
     48     private ITypeReferenceDelta<?> superClassDelta;
     49     private Set<IAnnotationDelta> annotationDeltas;
     50     private Set<ITypeVariableDefinitionDelta> typeVariableDeltas;
     51 
     52     public Set<IAnnotationFieldDelta> getAnnotationFieldDeltas() {
     53         return annotationFieldDeltas;
     54     }
     55 
     56     public void setAnnotationFieldDeltas(
     57             Set<IAnnotationFieldDelta> annotationFieldDeltas) {
     58         this.annotationFieldDeltas = annotationFieldDeltas;
     59     }
     60 
     61     public Set<IConstructorDelta> getConstructorDeltas() {
     62         return constructorDeltas;
     63     }
     64 
     65     public void setConstructorDeltas(
     66             Set<IConstructorDelta> constructorDeltas) {
     67         this.constructorDeltas = constructorDeltas;
     68     }
     69 
     70     public Set<IEnumConstantDelta> getEnumConstantDeltas() {
     71         return enumConstantDeltas;
     72     }
     73 
     74     public void setEnumConstantDeltas(
     75             Set<IEnumConstantDelta> enumConstantDeltas) {
     76         this.enumConstantDeltas = enumConstantDeltas;
     77     }
     78 
     79     public Set<IFieldDelta> getFieldDeltas() {
     80         return fieldDeltas;
     81     }
     82 
     83     public void setFieldDeltas(Set<IFieldDelta> fieldDeltas) {
     84         this.fieldDeltas = fieldDeltas;
     85     }
     86 
     87     public Set<ITypeReferenceDelta<?>> getInterfaceDeltas() {
     88         return interfaceDeltas;
     89     }
     90 
     91     public void setInterfaceDeltas(
     92             Set<ITypeReferenceDelta<?>> interfaceDeltas) {
     93         this.interfaceDeltas = interfaceDeltas;
     94     }
     95 
     96     public Set<IMethodDelta> getMethodDeltas() {
     97         return methodDeltas;
     98     }
     99 
    100     public void setMethodDeltas(Set<IMethodDelta> methodDeltas) {
    101         this.methodDeltas = methodDeltas;
    102     }
    103 
    104     public Set<IModifierDelta> getModifierDeltas() {
    105         return modifierDeltas;
    106     }
    107 
    108     public void setModifierDeltas(Set<IModifierDelta> modifierDeltas) {
    109         this.modifierDeltas = modifierDeltas;
    110     }
    111 
    112     public ITypeReferenceDelta<?> getSuperClassDelta() {
    113         return superClassDelta;
    114     }
    115 
    116     public void setSuperClassDelta(ITypeReferenceDelta<?> superClassDelta) {
    117         this.superClassDelta = superClassDelta;
    118     }
    119 
    120     public Set<IAnnotationDelta> getAnnotationDeltas() {
    121         return annotationDeltas;
    122     }
    123 
    124     public void setAnnotationDeltas(Set<IAnnotationDelta> annotationDeltas) {
    125         this.annotationDeltas = annotationDeltas;
    126     }
    127 
    128     public Set<ITypeVariableDefinitionDelta> getTypeVariableDeltas() {
    129         return typeVariableDeltas;
    130     }
    131 
    132     public void setTypeVariableDeltas(
    133             Set<ITypeVariableDefinitionDelta> typeVariableDeltas) {
    134         this.typeVariableDeltas = typeVariableDeltas;
    135     }
    136 }
    137