kodo.jdbc.meta
Class ClassMappingInfo
java.lang.Object
|
+--kodo.jdbc.meta.MappingInfo
|
+--kodo.jdbc.meta.ClassMappingInfo
- All Implemented Interfaces:
- Comparable, com.solarmetric.meta.SourceTracker
- public class ClassMappingInfo
- extends MappingInfo
- implements Comparable, com.solarmetric.meta.SourceTracker
Holds information about a class mapping; this is used as an
intermediate step during serialization and deserialization of
ClassMapping
s to XML or some other format.
Methods inherited from class kodo.jdbc.meta.MappingInfo |
addAttribute, addField, clearAttributes, clearFields, getAttribute, getAttributeNames, getField, getFields, getMappingType, removeAttribute, removeField, removeField, setMappingType |
ClassMappingInfo
public ClassMappingInfo(String className)
- Constructor. Supply described class' name.
getClassName
public String getClassName()
- Return the name of the described class.
getVersionIndicator
public MappingInfo getVersionIndicator()
- Return the mapping info for the version indicator, or null if none.
setVersionIndicator
public void setVersionIndicator(MappingInfo info)
- Set the mapping info for the version indicator, or null if none.
getClassIndicator
public MappingInfo getClassIndicator()
- Return the mapping info for the class indicator, or null if none.
setClassIndicator
public void setClassIndicator(MappingInfo info)
- Set the mapping info for the class indicator, or null if none.
getSourceFile
public File getSourceFile()
- Specified by:
getSourceFile
in interface com.solarmetric.meta.SourceTracker
setSourceFile
public void setSourceFile(File sourceFile)
compareTo
public int compareTo(Object other)
- Specified by:
compareTo
in interface Comparable
toString
public String toString()
- Overrides:
toString
in class MappingInfo
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.