Package com.db4o.internal.handlers
Class NetTypeHandler
- java.lang.Object
-
- com.db4o.internal.handlers.PrimitiveHandler
-
- com.db4o.internal.handlers.NetTypeHandler
-
- All Implemented Interfaces:
BuiltinTypeHandler
,CanExcludeNullInQueries
,Comparable4
,Indexable4
,IndexableTypeHandler
,LinkLengthAware
,QueryableTypeHandler
,TypeHandler4
,ValueTypeHandler
- Direct Known Subclasses:
NetSimpleTypeHandler
public abstract class NetTypeHandler extends PrimitiveHandler
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.handlers.PrimitiveHandler
_classReflector
-
-
Constructor Summary
Constructors Constructor Description NetTypeHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Object
defaultValue()
java.lang.String
dotNetClassName()
int
getID()
java.lang.String
getName()
PreparedComparison
internalPrepareComparison(java.lang.Object obj)
protected java.lang.Class
javaClass()
int
linkLength()
java.lang.Class
primitiveJavaClass()
abstract java.lang.Object
read(byte[] bytes, int offset)
void
registerReflector(Reflector reflector)
abstract int
typeID()
abstract void
write(java.lang.Object obj, byte[] bytes, int offset)
void
write(java.lang.Object a_object, ByteArrayBuffer a_bytes)
-
Methods inherited from class com.db4o.internal.handlers.PrimitiveHandler
classReflector, coerce, defaultValue, defragIndexEntry, defragment, delete, descendsIntoMembers, excludeNull, indexEntryToObject, nullRepresentationInUntypedArrays, prepareComparison, primitiveClassReflector, primitiveMarshaller, primitiveNull, read, read, readIndexEntry, readIndexEntry, readIndexEntryFromObjectSlot, write, writeIndexEntry
-
-
-
-
Method Detail
-
dotNetClassName
public java.lang.String dotNetClassName()
-
registerReflector
public void registerReflector(Reflector reflector)
- Specified by:
registerReflector
in interfaceBuiltinTypeHandler
- Overrides:
registerReflector
in classPrimitiveHandler
-
getID
public int getID()
-
getName
public java.lang.String getName()
-
linkLength
public int linkLength()
- Specified by:
linkLength
in interfaceLinkLengthAware
- Specified by:
linkLength
in classPrimitiveHandler
-
primitiveJavaClass
public java.lang.Class primitiveJavaClass()
- Specified by:
primitiveJavaClass
in classPrimitiveHandler
-
javaClass
protected java.lang.Class javaClass()
- Overrides:
javaClass
in classPrimitiveHandler
-
read
public abstract java.lang.Object read(byte[] bytes, int offset)
-
typeID
public abstract int typeID()
-
write
public abstract void write(java.lang.Object obj, byte[] bytes, int offset)
-
write
public void write(java.lang.Object a_object, ByteArrayBuffer a_bytes)
- Specified by:
write
in classPrimitiveHandler
-
internalPrepareComparison
public PreparedComparison internalPrepareComparison(java.lang.Object obj)
- Specified by:
internalPrepareComparison
in classPrimitiveHandler
-
defaultValue
public abstract java.lang.Object defaultValue()
-
-