Package com.db4o.reflect.generic
Class GenericVirtualField
- java.lang.Object
-
- com.db4o.reflect.generic.GenericField
-
- com.db4o.reflect.generic.GenericVirtualField
-
- All Implemented Interfaces:
DeepClone
,ReflectField
public class GenericVirtualField extends GenericField
-
-
Constructor Summary
Constructors Constructor Description GenericVirtualField(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
deepClone(java.lang.Object obj)
The parameter allows passing one new object so parent references can be corrected on children.java.lang.Object
get(java.lang.Object onObject)
ReflectClass
getFieldType()
The ReflectClass returned by this method should have been provided by the parent reflector.boolean
isPublic()
boolean
isStatic()
boolean
isTransient()
void
set(java.lang.Object onObject, java.lang.Object value)
-
Methods inherited from class com.db4o.reflect.generic.GenericField
getName, indexEntry, indexType, isPrimitive
-
-
-
-
Method Detail
-
deepClone
public java.lang.Object deepClone(java.lang.Object obj)
Description copied from interface:DeepClone
The parameter allows passing one new object so parent references can be corrected on children.- Specified by:
deepClone
in interfaceDeepClone
- Overrides:
deepClone
in classGenericField
-
get
public java.lang.Object get(java.lang.Object onObject)
- Specified by:
get
in interfaceReflectField
- Overrides:
get
in classGenericField
-
getFieldType
public ReflectClass getFieldType()
Description copied from interface:ReflectField
The ReflectClass returned by this method should have been provided by the parent reflector.- Specified by:
getFieldType
in interfaceReflectField
- Overrides:
getFieldType
in classGenericField
- Returns:
- the ReflectClass representing the field type as provided by the parent reflector
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceReflectField
- Overrides:
isPublic
in classGenericField
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceReflectField
- Overrides:
isStatic
in classGenericField
-
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interfaceReflectField
- Overrides:
isTransient
in classGenericField
-
set
public void set(java.lang.Object onObject, java.lang.Object value)
- Specified by:
set
in interfaceReflectField
- Overrides:
set
in classGenericField
-
-