1 22 23 28 package org.xquark.mapper.metadata; 29 30 import java.util.Collection ; 31 import java.util.List ; 32 33 import org.xquark.mapper.mapping.ColumnMapping; 34 35 40 public interface PathMetadata extends StoragePathMetadata 41 { 42 52 ColumnMapping getColumnMapping(int[] tableMappingIndexes); 53 54 59 PathMetadata getTableMappingPath(); 61 69 PathMetadata getTableMappingPath(ColumnMapping column); 71 75 int getDepth(); 76 77 82 boolean isDiscardable(); 83 84 88 boolean hasExtraData(); 89 90 94 boolean isChildrenPositionEnforced(); 95 96 101 Collection getBuildMappings(); 102 103 108 PathMetadata getBuildableAncestor(); 110 115 PathMetadata getBuilderAncestor(); 117 122 PathMetadata getStructAncestor(); 124 128 PathMetadata getModelAncestor(); 129 130 141 int[] getOccurenceCount(PathMetadata ancestor); 143 146 boolean isMonoValuated(); 147 148 151 boolean isMultiValuated(); 152 153 156 boolean isOptional(); 157 158 161 public List getModelSubPaths(); 162 163 167 public List getSubPaths(); 168 169 174 public ColumnMapping getReadColumnMapping(); 175 176 181 public CollectionMappingInfo getReadTableMapping(); 182 183 186 boolean isMixed(); 187 188 191 public ColumnMapping getTextColumnMapping(); 192 193 196 public CollectionMappingInfo getTextTableMapping(); 197 198 } 199 200 | Popular Tags |