1 19 20 package org.netbeans.modules.j2ee.refactoring; 21 22 import org.netbeans.jmi.javamodel.Annotation; 23 import org.netbeans.jmi.javamodel.AttributeValue; 24 import org.netbeans.jmi.javamodel.Feature; 25 import org.netbeans.jmi.javamodel.JavaClass; 26 27 32 public class EntityAnnotationReference { 33 34 37 private AttributeValue attributeValue; 38 41 private Annotation annotation; 42 45 private JavaClass referring; 46 49 private JavaClass referenced; 50 51 54 private Feature referringProperty; 55 63 public EntityAnnotationReference(JavaClass referenced, JavaClass referring, Feature property, 64 Annotation annotation, AttributeValue attributeValue) { 65 this.referenced = referenced; 66 this.referring = referring; 67 this.referringProperty = property; 68 this.annotation = annotation; 69 this.attributeValue = attributeValue; 70 } 71 72 75 public AttributeValue getAttributeValue() { 76 return attributeValue; 77 } 78 79 82 public Annotation getAnnotation() { 83 return annotation; 84 } 85 86 89 public Feature getReferringProperty() { 90 return referringProperty; 91 } 92 93 94 97 public JavaClass getReferring() { 98 return referring; 99 } 100 101 104 public JavaClass getReferenced(){ 105 return referenced; 106 } 107 } 108 | Popular Tags |