1 2 12 package com.versant.core.common; 13 14 import com.versant.core.metadata.ClassMetaData; 15 import com.versant.core.util.FastExternalizable; 16 17 38 public interface OID extends Comparable , FastExternalizable { 39 40 43 public boolean isNew(); 44 45 50 public OID getRealOID(); 51 52 59 public OID getAvailableOID(); 60 61 69 public boolean isResolved(); 70 71 78 public void resolve(State state); 79 80 87 public ClassMetaData getClassMetaData(); 88 89 94 public ClassMetaData getAvailableClassMetaData(); 95 96 102 public ClassMetaData getBaseClassMetaData(); 103 104 111 public int getClassIndex(); 112 113 118 public int getIdentityType(); 119 120 126 public void copyKeyFields(Object [] data); 127 128 131 public OID copy(); 132 133 137 public void fillFromPK(Object pk); 138 139 144 public void fillFromIDString(String idString, int index); 145 146 152 public OID fillFromIDObject(Object id); 153 154 158 public String toPkString(); 159 160 164 public String toSString(); 165 166 169 public String toStringImp(); 170 171 175 public int compareTo(Object o); 176 177 181 public long getLongPrimaryKey(); 182 183 187 public void setLongPrimaryKey(long pk); 188 189 194 public void populateObjectIdClassInstance(Object o); 195 196 200 public int getAvailableClassId(); 201 202 } 203 | Popular Tags |