Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.io.pof.reflect
Class PofUserType

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.BitHelper
          extended by com.tangosol.util.ExternalizableHelper
              extended by com.tangosol.io.pof.reflect.AbstractPofValue
                  extended by com.tangosol.io.pof.reflect.ComplexPofValue
                      extended by com.tangosol.io.pof.reflect.PofSparseArray
                          extended by com.tangosol.io.pof.reflect.PofUserType
All Implemented Interfaces:
PofValue

public class PofUserType
extends PofSparseArray

PofUserType is PofValue implementation for user types.

Since:
Coherence 3.5
Author:
as 2009.02.12

Nested Class Summary
 
Nested classes/interfaces inherited from class com.tangosol.io.pof.reflect.PofSparseArray
PofSparseArray.NilPofValue
 
Field Summary
protected  int m_nVersion
          The data version of this value.
 
Fields inherited from class com.tangosol.io.pof.reflect.ComplexPofValue
TYPE_UNKNOWN
 
Fields inherited from class com.tangosol.io.pof.reflect.AbstractPofValue
m_nType, m_oValue
 
Constructor Summary
PofUserType(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren, int nVersion)
          Construct a PofUserType instance wrapping the supplied buffer.
 
Method Summary
 int getVersion()
          Return the data version of this value.
 
Methods inherited from class com.tangosol.io.pof.reflect.PofSparseArray
findChildInternal, instantiateNilValue
 
Methods inherited from class com.tangosol.io.pof.reflect.ComplexPofValue
extractChild, findChild, getChild, getChildrenIterator, getLastChildIndex, getUniformElementType, isUniformCollection, setUniformElementType, skipChild
 
Methods inherited from class com.tangosol.io.pof.reflect.AbstractPofValue
applyChanges, getChanges, getDirtyBytesCount, getOffset, getOriginalBuffer, getParent, getPofContext, getPropertyIndex, getRoot, getSerializedValue, getSize, getTypeId, getValue, getValueBuffer, incrementDirtyBytesCount, incrementDirtyValuesCount, isDirty, isRoot, isUniformEncoded, setDecorations, setDirty, setOriginalBuffer, setUniformEncoded, setValue
 
Methods inherited from class com.tangosol.util.BitHelper
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString
 

Field Detail

m_nVersion

protected int m_nVersion
The data version of this value.

Constructor Detail

PofUserType

public PofUserType(PofValue valueParent,
                   ReadBuffer bufValue,
                   PofContext ctx,
                   int of,
                   int nType,
                   int ofChildren,
                   int nVersion)
Construct a PofUserType instance wrapping the supplied buffer.

Parameters:
valueParent - parent value within the POF stream
bufValue - buffer containing POF representation of this value
ctx - POF context to use when reading or writing properties
of - offset of this value from the beginning of POF stream
nType - POF type identifier for this value
ofChildren - offset of the first child element within this value
nVersion - data version of this value
Method Detail

getVersion

public int getVersion()
Return the data version of this value.

Returns:
the data version of this value

Oracle® Coherence Java API Reference
v3.5

E14977-01

Copyright © 2000, 2009, Oracle. All rights reserved.