1 26 27 package org.objectweb.openccm.ast.lib; 28 29 30 import org.objectweb.openccm.ast.api.TypeRef; 31 32 33 import org.objectweb.openccm.ast.api.StorageTypeBase; 34 35 42 43 public class PsdlTypeRefImpl 44 extends ObjectBase 45 implements org.objectweb.openccm.ast.api.PsdlTypeRef 46 { 47 53 54 protected StorageTypeBase psdl_type_; 55 56 57 protected TypeRef idl_type_; 58 59 60 protected boolean ref_; 61 62 63 protected boolean strong_; 64 65 71 76 protected 77 PsdlTypeRefImpl(TypeRef idl_type) 78 { 79 idl_type_ = idl_type; 81 psdl_type_ = null; 82 ref_ = false; 83 strong_ = false; 84 } 85 86 93 protected 94 PsdlTypeRefImpl(StorageTypeBase psdl_type, boolean ref, boolean strong) 95 { 96 idl_type_ = null; 98 psdl_type_ = psdl_type; 99 ref_ = ref; 100 strong_ = strong; 101 } 102 103 109 115 121 126 public StorageTypeBase 127 getStorageTypeBase() 128 { 129 return psdl_type_; 130 } 131 132 137 public TypeRef 138 getTypeRef() 139 { 140 return idl_type_; 141 } 142 143 148 public boolean 149 isRef() 150 { 151 return ref_; 152 } 153 154 159 public boolean 160 isStrong() 161 { 162 return strong_; 163 } 164 165 } 166 | Popular Tags |