| com.tc.object.dna.api.DNAWriter
All known Subclasses: com.tc.object.dna.impl.DNAWriterImpl, com.tc.objectserver.core.api.TestDNAWriter,
DNAWriter | public interface DNAWriter (Code) | | Interface for writing DNA. The Writer effectively defines the protocol for how
DNA data is written to a stream.
|
addArrayElementAction | void addArrayElementAction(int index, Object value)(Code) | | Add physical action for array element change
Parameters: index - Index in the array Parameters: value - New value |
addClassLoaderAction | void addClassLoaderAction(String classLoaderFieldName, Object value)(Code) | | Add classloader action
Parameters: classLoaderFieldName - Classloader field Parameters: value - Classloader |
addEntireArray | void addEntireArray(Object value)(Code) | | Add physical action for entire array
Parameters: value - Array value |
addLiteralValue | void addLiteralValue(Object value)(Code) | | Add literal value
Parameters: value - Literal value |
addLogicalAction | void addLogicalAction(int method, Object[] parameters)(Code) | | Add logical action to the writer
Parameters: Method - identifier, defined in com.tc.object.SerializationUtil Parameters: parameters - Parameter values |
addPhysicalAction | void addPhysicalAction(String fieldName, Object value)(Code) | | Add physical action to the writer representing field value, automatically
determine whether value is a reference by checking whether it is an ObjectID
Parameters: fieldName - The field name Parameters: value - The field value |
addPhysicalAction | void addPhysicalAction(String fieldName, Object value, boolean canBeReference)(Code) | | Add physical action to the writer representing a field value, specify
whether the value is a reference or not.
Parameters: fieldName - The field name Parameters: value - The field value Parameters: canBeReference - Is this a reference |
addSubArrayAction | void addSubArrayAction(int start, Object array, int length)(Code) | | Add physical action for subarray change
Parameters: start - Start index in the array Parameters: array - The array value Parameters: length - The length of the subarray |
finalizeDNA | void finalizeDNA(boolean isDeltaDNA)(Code) | | Finalize the DNA with a flag of whether it's delta or new
Parameters: isDeltaDNA - True if delta, false if new |
setArrayLength | void setArrayLength(int length)(Code) | | Set array length
Parameters: length - Length |
setParentObjectID | void setParentObjectID(ObjectID id)(Code) | | Set parent object ID for inner classes
Parameters: id - Parent object ID |
|
|