Package com.db4o.internal
Class TypeHandlerAspect
- java.lang.Object
-
- com.db4o.internal.ClassAspect
-
- com.db4o.internal.TypeHandlerAspect
-
public class TypeHandlerAspect extends ClassAspect
-
-
Field Summary
Fields Modifier and Type Field Description TypeHandler4
_typeHandler
-
Fields inherited from class com.db4o.internal.ClassAspect
_handle
-
-
Constructor Summary
Constructors Constructor Description TypeHandlerAspect(ClassMetadata classMetadata, TypeHandler4 typeHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate(UnmarshallingContext context)
AspectType
aspectType()
boolean
canBeDisabled()
void
cascadeActivation(ActivationContext context)
void
collectIDs(CollectIdContext context)
void
deactivate(ActivationContext context)
void
defragAspect(DefragmentContext context)
void
delete(DeleteContextImpl context, boolean isUpdate)
boolean
equals(java.lang.Object obj)
java.lang.String
getName()
int
hashCode()
int
linkLength(HandlerVersionContext context)
void
marshall(MarshallingContext context, java.lang.Object obj)
-
Methods inherited from class com.db4o.internal.ClassAspect
checkEnabled, disableFromAspectCountVersion, incrementOffset, isEnabledOn, isVirtual, setHandle
-
-
-
-
Field Detail
-
_typeHandler
public final TypeHandler4 _typeHandler
-
-
Constructor Detail
-
TypeHandlerAspect
public TypeHandlerAspect(ClassMetadata classMetadata, TypeHandler4 typeHandler)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getName
public java.lang.String getName()
- Specified by:
getName
in classClassAspect
-
cascadeActivation
public void cascadeActivation(ActivationContext context)
- Specified by:
cascadeActivation
in classClassAspect
-
collectIDs
public void collectIDs(CollectIdContext context)
- Specified by:
collectIDs
in classClassAspect
-
defragAspect
public void defragAspect(DefragmentContext context)
- Specified by:
defragAspect
in classClassAspect
-
linkLength
public int linkLength(HandlerVersionContext context)
- Specified by:
linkLength
in classClassAspect
-
marshall
public void marshall(MarshallingContext context, java.lang.Object obj)
- Specified by:
marshall
in classClassAspect
-
aspectType
public AspectType aspectType()
- Specified by:
aspectType
in classClassAspect
-
activate
public void activate(UnmarshallingContext context)
- Specified by:
activate
in classClassAspect
-
delete
public void delete(DeleteContextImpl context, boolean isUpdate)
- Specified by:
delete
in classClassAspect
-
deactivate
public void deactivate(ActivationContext context)
- Specified by:
deactivate
in classClassAspect
-
canBeDisabled
public boolean canBeDisabled()
- Specified by:
canBeDisabled
in classClassAspect
-
-