org.apache.cayenne.reflect
Class SimpleAttributeProperty
java.lang.Object
   org.apache.cayenne.reflect.BaseProperty
org.apache.cayenne.reflect.BaseProperty
       org.apache.cayenne.reflect.SimpleAttributeProperty
org.apache.cayenne.reflect.SimpleAttributeProperty
- All Implemented Interfaces: 
- AttributeProperty, Property
- public class SimpleAttributeProperty 
- extends BaseProperty- implements AttributeProperty
A descriptor of an "attribute" persistent property.
- Since:
- 3.0
 
 
 
 
 
 
 
SimpleAttributeProperty
public SimpleAttributeProperty(ClassDescriptor owner,
                               Accessor accessor,
                               ObjAttribute attribute)
visit
public boolean visit(PropertyVisitor visitor)
- Description copied from interface: Property
- A visitor accept method.
 
- 
- Specified by:
- visitin interface- Property
- Specified by:
- visitin class- BaseProperty
 
- 
- Returns:
- a status returned by the corresponding callback method of the visitor. It
         serves as an indication of whether peer properties processing is still
         needed.
 
getAttribute
public ObjAttribute getAttribute()
- 
- Specified by:
- getAttributein interface- AttributeProperty
 
- 
 
readProperty
public Object readProperty(Object object)
                    throws PropertyException
- Description copied from interface: Property
- Returns a property value, inflating unresolved object if need.
 
- 
- Specified by:
- readPropertyin interface- Property
- Overrides:
- readPropertyin class- BaseProperty
 
- 
- Throws:
- PropertyException
 
writeProperty
public void writeProperty(Object object,
                          Object oldValue,
                          Object newValue)
                   throws PropertyException
- Description copied from interface: Property
- Sets a property value, inflating unresolved object if need. Old value of the
 property is specified as a hint and can be ignored by the property implementor.
 
- 
- Specified by:
- writePropertyin interface- Property
- Overrides:
- writePropertyin class- BaseProperty
 
- 
- Throws:
- PropertyException
 
resolveFault
protected void resolveFault(Object object)
                     throws PropertyException
- 
 
- 
- Throws:
- PropertyException
 
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.