1 package xdoclet.modules.ojb.model; 2 3 17 18 23 public abstract class FeatureDescriptorDef extends DefBase 24 { 25 26 private FeatureDescriptorDef _originalDef; 27 28 private boolean _isInherited = false; 29 30 private boolean _isNested = false; 31 32 37 public FeatureDescriptorDef(String name) 38 { 39 super(name); 40 } 41 42 48 public FeatureDescriptorDef(FeatureDescriptorDef src, String prefix) 49 { 50 super(src, prefix); 51 _originalDef = src; 52 _isInherited = src._isInherited; 53 _isNested = src._isNested; 54 } 55 56 61 public FeatureDescriptorDef getOriginal() 62 { 63 return _originalDef; 64 } 65 66 69 public void setInherited() 70 { 71 _isInherited = true; 72 } 73 74 79 public boolean isInherited() 80 { 81 return _isInherited; 82 } 83 84 87 public void setNested() 88 { 89 _isNested = true; 90 } 91 92 97 public boolean isNested() 98 { 99 return _isNested; 100 } 101 } 102 | Popular Tags |