public class SimpleAttributeProperty extends BaseProperty implements AttributeProperty
accessor, owner| Constructor and Description |
|---|
SimpleAttributeProperty(ClassDescriptor owner,
Accessor accessor,
ObjAttribute attribute) |
| Modifier and Type | Method and Description |
|---|---|
ObjAttribute |
getAttribute() |
Object |
readProperty(Object object)
Returns a property value, inflating unresolved object if need.
|
protected void |
resolveFault(Object object) |
boolean |
visit(PropertyVisitor visitor)
A visitor accept method.
|
void |
writeProperty(Object object,
Object oldValue,
Object newValue)
Sets a property value, inflating unresolved object if need.
|
getName, injectValueHolder, readPropertyDirectly, toString, writePropertyDirectlyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, injectValueHolder, readPropertyDirectly, writePropertyDirectlypublic SimpleAttributeProperty(ClassDescriptor owner, Accessor accessor, ObjAttribute attribute)
public boolean visit(PropertyVisitor visitor)
PropertyDescriptorvisit in interface PropertyDescriptorvisit in class BasePropertypublic ObjAttribute getAttribute()
getAttribute in interface AttributePropertypublic Object readProperty(Object object) throws PropertyException
PropertyDescriptorreadProperty in interface PropertyDescriptorreadProperty in class BasePropertyPropertyExceptionpublic void writeProperty(Object object, Object oldValue, Object newValue) throws PropertyException
PropertyDescriptorwriteProperty in interface PropertyDescriptorwriteProperty in class BasePropertyPropertyExceptionprotected void resolveFault(Object object) throws PropertyException
PropertyExceptionCopyright © 2001–2023 Apache Cayenne. All rights reserved.