1 23 24 29 30 package com.sun.jdo.api.persistence.model.mapping; 31 32 import java.util.ArrayList ; 33 34 import org.netbeans.modules.dbschema.*; 35 36 import com.sun.jdo.api.persistence.model.ModelException; 37 38 62 public interface MappingReferenceKeyElement 63 extends MappingMemberElement, ReferenceKey 64 { 65 67 70 public MappingTableElement getTable (); 71 72 76 public void setTable (MappingTableElement table) throws ModelException; 77 78 80 83 public ArrayList getColumnPairNames (); 84 85 90 public void removeColumnPair (String pairName) throws ModelException; 91 92 97 public void removeColumnPairs (ArrayList pairNames) throws ModelException; 98 99 101 105 public void addColumnPair (ColumnPairElement pair) throws ModelException; 106 107 111 public void addColumnPairs (ColumnPairElement[] pairs) 112 throws ModelException; 113 114 118 public void removeColumnPair (ColumnPairElement pair) 119 throws ModelException; 120 121 125 public void removeColumnPairs (ColumnPairElement[] pairs) 126 throws ModelException; 127 128 133 public void setColumnPairs (ColumnPairElement[] pairs) 134 throws ModelException; 135 } 136 | Popular Tags |