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.DBMemberElement; 35 36 import com.sun.jdo.api.persistence.model.ModelException; 37 38 43 public interface MappingFieldElement extends MappingMemberElement 44 { 45 48 public static final int GROUP_DEFAULT = 1; 49 50 51 public static final int GROUP_NONE = 0; 52 53 56 public static final int GROUP_INDEPENDENT = -1; 57 58 61 65 public boolean isReadOnly (); 66 67 72 public void setReadOnly (boolean flag) throws ModelException; 73 74 78 public boolean isInConcurrencyCheck (); 79 80 85 public void setInConcurrencyCheck (boolean flag) throws ModelException; 86 87 91 public boolean isVersion (); 92 93 98 public void setVersion (boolean flag) throws ModelException; 99 100 102 107 public int getFetchGroup (); 108 109 115 public void setFetchGroup (int group) throws ModelException; 116 117 119 123 public ArrayList getColumns (); 124 125 129 public void addColumn (DBMemberElement column) throws ModelException; 130 131 136 public void removeColumn (String columnName) throws ModelException; 137 } 138 | Popular Tags |