| java.lang.Object com.versant.core.metadata.ClassIdTranslator
ClassIdTranslator | final public class ClassIdTranslator (Code) | | This maintains translation tables to translate ClassMetaData to/from
String and int IDs.
|
getClassForIntClassId | public ClassMetaData getClassForIntClassId(int classId)(Code) | | Convert an int class-id value read from our class-id column into
ClassMetaData. Throws a JDODataStoreException if the classId is
invalid.
|
getClassForStringClassId | public ClassMetaData getClassForStringClassId(String classId)(Code) | | Convert a String class-id value read from our class-id column into
ClassMetaData. Throws a JDODataStoreException if the classId is
invalid.
|
getClassList | public List getClassList()(Code) | | Get all of the ClassMetaData's we have in alphabetical order.
|
getIntClassIdForClass | public int getIntClassIdForClass(ClassMetaData cmd)(Code) | | Convert a class into an int class-id for setting on our class-id column.
Throws a JDODataStoreException if the class is invalid.
|
getStringClassIdForClass | public String getStringClassIdForClass(ClassMetaData cmd)(Code) | | Convert a class into an String class-id for setting on our class-id
column. Throws a JDODataStoreException if the class is invalid.
|
isStringClassIds | public boolean isStringClassIds()(Code) | | Are the class-id's Strings (i.e. not ints)?
|
setMessage | public void setMessage(String message)(Code) | | Set the message used to constuct exceptions for invalid classes and
so on (e.g. 'field com.acme.model.Company.data').
|
|
|