Class EmbeddedFieldAccessor
java.lang.Object
org.apache.cayenne.reflect.EmbeddedFieldAccessor
- All Implemented Interfaces:
Serializable, Accessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Accessorprotected EmbeddableDescriptorprotected Accessorprotected String -
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedFieldAccessor(EmbeddableDescriptor embeddableDescriptor, Accessor embeddedAccessor, Accessor embeddableAccessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetEmbeddable(Object owner) Returns an embeddable object for the owner object, initializing embeddable if it is null.getName()Returns property name.Returns a property value of an object without disturbing the object fault status.voidSets a property value of an object without disturbing the object fault status.
-
Field Details
-
propertyPath
-
embeddedAccessor
-
embeddableAccessor
-
embeddableDescriptor
-
-
Constructor Details
-
EmbeddedFieldAccessor
public EmbeddedFieldAccessor(EmbeddableDescriptor embeddableDescriptor, Accessor embeddedAccessor, Accessor embeddableAccessor)
-
-
Method Details
-
getName
-
getValue
Description copied from interface:AccessorReturns a property value of an object without disturbing the object fault status.- Specified by:
getValuein interfaceAccessor- Throws:
PropertyException
-
setValue
Description copied from interface:AccessorSets a property value of an object without disturbing the object fault status. Old value of the property is specified as a hint.- Specified by:
setValuein interfaceAccessor- Throws:
PropertyException
-
getEmbeddable
-