1 23 24 package org.objectweb.jorm.metainfo.api; 25 26 import org.objectweb.jorm.type.api.PType; 27 28 import java.util.Collection ; 29 30 41 public interface GenClassRef extends Reference { 42 51 PrimitiveElement createPrimitiveElement(PType type, int size, int scale); 52 53 62 ClassRef createClassRef(Class clazz); 63 64 72 GenClassRef createGenClassRef(String genClassRefName); 73 74 83 PrimitiveElement getPrimitiveElement(); 84 85 90 TypedElement removeTypedElement(String fieldName); 91 92 101 ClassRef getClassRef(); 102 103 113 GenClassRef getGenClassRef(); 114 115 122 boolean isPrimitive(); 123 124 130 boolean isClassRef(); 131 132 139 boolean isGenClassRef(); 140 141 146 NameDef createIdNameDef(); 147 148 153 Collection getIdNameDef(); 154 155 162 NameDef getIdNameDef(String projectName); 163 164 168 String getGenClassName(); 169 170 174 String getGenClassId(); 175 176 180 ScalarField createHiddenField(String fieldName, PType type, int size, int scale); 181 182 186 Collection getHiddenFields(); 187 188 192 ScalarField getHiddenField(String fieldName); 193 194 197 void addIndexField(String indexFieldName); 198 199 208 Collection getIndexFields(); 209 } 210 | Popular Tags |