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)
Propertyvisit in interface Propertyvisit in class BasePropertypublic ObjAttribute getAttribute()
getAttribute in interface AttributePropertypublic Object readProperty(Object object) throws PropertyException
PropertyreadProperty in interface PropertyreadProperty in class BasePropertyPropertyExceptionpublic void writeProperty(Object object, Object oldValue, Object newValue) throws PropertyException
PropertywriteProperty in interface PropertywriteProperty in class BasePropertyPropertyExceptionprotected void resolveFault(Object object) throws PropertyException
PropertyExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.