1 4 package com.tc.object.dna.api; 5 6 import com.tc.object.ObjectID; 7 8 9 12 public interface DNAWriter { 13 14 void addLogicalAction(int method, Object [] parameters); 15 16 void addPhysicalAction(String fieldName, Object value); 17 18 void addPhysicalAction(String fieldName, Object value, boolean canBeReference); 19 20 void addArrayElementAction(int index, Object value); 21 22 void addSubArrayAction(int start, Object array, int length); 23 24 void addClassLoaderAction(String classLoaderFieldName, Object value); 25 26 void addEntireArray(Object value); 27 28 void addLiteralValue(Object value); 29 30 void finalizeDNA(); 31 32 void setParentObjectID(ObjectID id); 33 34 void setArrayLength(int length); 35 36 } 37 | Popular Tags |