@NotStorableClass public class ConversionDefEntry extends ClassNameAndIdentifierKey
classInfo, identifier
Constructor and Description |
---|
ConversionDefEntry(ClassInfo classInfo,
int fromIdentifier,
ClassInfo replacementClass,
int toIdentifier,
ClassInfo converterClass,
ClassInfo staticConverterClass)
create a class conversion definition
|
ConversionDefEntry(ClassInfo classInfo,
int fromIdentifier,
ClassInfo replacementClass,
int toIdentifier,
FieldInfo originalFieldInfo,
int originalFieldIndex,
FieldInfo replacementFieldInfo,
int replacementFieldIndex)
create a field conversion definition
|
ConversionDefEntry(ClassInfo classInfo,
int fromIdentifier,
int toIdentifier)
create a field list definition
|
Modifier and Type | Method and Description |
---|---|
void |
addToFieldList(FieldInfo fieldInfo) |
ClassInfo |
getConverterClass() |
List<FieldInfo> |
getFieldList() |
int |
getOriginalFieldIndex() |
FieldInfo |
getOriginalFieldInfo() |
ClassInfo |
getReplacementClass() |
int |
getReplacementFieldIndex() |
FieldInfo |
getReplacementFieldInfo() |
ClassInfo |
getStaticConverterClass() |
int |
getToIdentifier() |
boolean |
isClassFieldListDef() |
boolean |
isFieldReplacementDef() |
String |
toString() |
compareTo, equals, getClassInfo, getClassName, getIdentifier, hashCode
public ConversionDefEntry(ClassInfo classInfo, int fromIdentifier, int toIdentifier)
classInfo
- for the classfromIdentifier
- from identifiertoIdentifier
- to identifierpublic ConversionDefEntry(ClassInfo classInfo, int fromIdentifier, ClassInfo replacementClass, int toIdentifier, ClassInfo converterClass, ClassInfo staticConverterClass)
classInfo
- original classfromIdentifier
- from identifierreplacementClass
- replacement classtoIdentifier
- to identifierconverterClass
- class of converterpublic ConversionDefEntry(ClassInfo classInfo, int fromIdentifier, ClassInfo replacementClass, int toIdentifier, FieldInfo originalFieldInfo, int originalFieldIndex, FieldInfo replacementFieldInfo, int replacementFieldIndex)
classInfo
- original classfromIdentifier
- from identifierreplacementClass
- replacement classtoIdentifier
- to identifieroriginalFieldInfo
- original fieldreplacementFieldInfo
- replacement fieldpublic int getToIdentifier()
public ClassInfo getReplacementClass()
public void addToFieldList(FieldInfo fieldInfo)
public ClassInfo getConverterClass()
public ClassInfo getStaticConverterClass()
public FieldInfo getOriginalFieldInfo()
public int getOriginalFieldIndex()
public FieldInfo getReplacementFieldInfo()
public int getReplacementFieldIndex()
public boolean isFieldReplacementDef()
public boolean isClassFieldListDef()
public String toString()
toString
in class ClassNameAndIdentifierKey
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.