1 4 package com.tc.object.dna.impl; 5 6 import com.tc.io.TCByteBufferInputStream; 7 8 import java.io.IOException ; 9 10 public class ObjectDNAImpl extends DNAImpl { 11 12 private long objectversion; 13 14 public ObjectDNAImpl(ObjectStringSerializer serializer, boolean createOutput) { 15 super(serializer, createOutput); 16 } 17 18 public Object deserializeFrom(TCByteBufferInputStream serialInput) throws IOException { 19 super.deserializeFrom(serialInput); 20 objectversion = this.input.readLong(); 21 return this; 22 } 23 24 public long getVersion() { 25 return objectversion; 26 } 27 28 } 29 | Popular Tags |