1 23 24 package org.objectweb.jorm.metainfo.api; 25 26 import java.util.Iterator ; 27 import java.util.Collection ; 28 import java.util.List ; 29 30 49 public interface CommonClassMapping extends MappingStructure { 50 51 55 String getRuleName(); 56 57 61 void setRuleName(String rulename); 62 63 67 IdentifierMapping getIdentifierMapping(); 68 69 73 void setIdentifierMapping(IdentifierMapping idmapping); 74 75 80 Collection getPrimitiveElementMappings(); 81 82 87 List getAllPrimitiveElementMappings(); 88 89 96 PrimitiveElementMapping getPrimitiveElementMapping(String fieldName); 97 98 102 void addPrimitiveElementMapping(PrimitiveElementMapping pemapping); 103 104 108 void addPrimitiveElementMapping(String fieldName, PrimitiveElementMapping pemapping); 109 110 114 Iterator primitiveElementMappingsIterator(); 115 116 121 IdentifierMapping createIdentifierMapping(NameDef nd); 122 123 129 ReferenceMapping createReferenceMapping(String ruleName, NameDef nd); 130 131 135 void addDependency(String jormClassName); 136 137 142 void removeDependency(String jormClassName); 143 144 148 Collection getDependencies(); 149 } 150 | Popular Tags |