@NotStorableClass public class ValuedFieldList extends Object
Constructor and Description |
---|
ValuedFieldList() |
ValuedFieldList(List<ObjectAndPersistInfo> fieldValueList)
creation from read data record
|
Modifier and Type | Method and Description |
---|---|
void |
addFieldInfo(int fieldIndex,
FieldInfo fieldInfo) |
void |
addNewFieldAndItsValue(ClassInfo declaringClass,
String fieldName,
ClassInfo fieldType,
boolean staticField,
boolean transientField,
int fieldIndex,
ObjectAndPersistInfo fieldValue) |
void |
addNewFieldAndItsValue(FieldInfo newFieldInfo,
ObjectAndPersistInfo fieldValue) |
void |
addNewFieldAndItsValue(int fieldIndex,
FieldInfo newFieldInfo,
ObjectAndPersistInfo fieldValue) |
void |
changeFieldInformation(ClassInfo originalDeclaringClass,
String originalFieldName,
ClassInfo originalFieldType,
ClassInfo declaringClass,
String fieldName,
ClassInfo fieldType,
boolean staticField,
boolean transientField) |
void |
changeOrder(int[] newIndexList) |
void |
clearFieldInfo() |
Integer |
getFieldIndexByFieldInfo(FieldInfo fieldInfo) |
Integer |
getFieldIndexByFieldName(String fieldName) |
FieldInfo |
getFieldInfo(int fieldIndex) |
ObjectAndPersistInfo |
getFieldValue(int index) |
List<ObjectAndPersistInfo> |
getFieldValueList() |
Set<Map.Entry<FieldInfo,Integer>> |
getIndexByFieldInfoSet() |
ObjectAndPersistInfo |
getValue(FieldInfo fieldInfo) |
ObjectAndPersistInfo |
getValue(int fieldIndex) |
List<ValuedField> |
getValuedFields() |
void |
insertEntry(int index) |
void |
removeFieldInfo(FieldInfo fieldInfo) |
ObjectAndPersistInfo |
setFieldInformation(ClassInfo declaringClass,
String fieldName,
ClassInfo fieldType,
boolean staticField,
boolean transientField,
int index) |
void |
setFieldValue(int index,
ObjectAndPersistInfo fieldValue) |
boolean |
setValue(FieldInfo fieldInfo,
ObjectAndPersistInfo fieldValue) |
String |
toString() |
public ValuedFieldList(List<ObjectAndPersistInfo> fieldValueList)
fieldValueList
- list of field value obtained reading object state data recordpublic ValuedFieldList()
public void clearFieldInfo()
public void setFieldValue(int index, ObjectAndPersistInfo fieldValue) throws ConversionException
ConversionException
public void insertEntry(int index)
public void addNewFieldAndItsValue(ClassInfo declaringClass, String fieldName, ClassInfo fieldType, boolean staticField, boolean transientField, int fieldIndex, ObjectAndPersistInfo fieldValue) throws ConversionException
ConversionException
public void addNewFieldAndItsValue(FieldInfo newFieldInfo, ObjectAndPersistInfo fieldValue) throws ConversionException
ConversionException
public void addNewFieldAndItsValue(int fieldIndex, FieldInfo newFieldInfo, ObjectAndPersistInfo fieldValue) throws ConversionException
ConversionException
public void addFieldInfo(int fieldIndex, FieldInfo fieldInfo) throws ConversionException
ConversionException
public ObjectAndPersistInfo setFieldInformation(ClassInfo declaringClass, String fieldName, ClassInfo fieldType, boolean staticField, boolean transientField, int index) throws ConversionException
ConversionException
public void changeFieldInformation(ClassInfo originalDeclaringClass, String originalFieldName, ClassInfo originalFieldType, ClassInfo declaringClass, String fieldName, ClassInfo fieldType, boolean staticField, boolean transientField) throws ConversionException
ConversionException
public boolean setValue(FieldInfo fieldInfo, ObjectAndPersistInfo fieldValue)
public List<ObjectAndPersistInfo> getFieldValueList()
public ObjectAndPersistInfo getFieldValue(int index)
public List<ValuedField> getValuedFields()
public FieldInfo getFieldInfo(int fieldIndex)
public void removeFieldInfo(FieldInfo fieldInfo)
public ObjectAndPersistInfo getValue(FieldInfo fieldInfo) throws ConversionException
fieldInfo
- ConversionException
public ObjectAndPersistInfo getValue(int fieldIndex) throws ConversionException
ConversionException
public void changeOrder(int[] newIndexList) throws ConversionException
ConversionException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.