Package | Description |
---|---|
org.apache.cayenne |
Contains persistence APIs directly accessible by users.
|
org.apache.cayenne.reflect |
Modifier and Type | Method and Description |
---|---|
static PropertyDescriptor |
Cayenne.getProperty(Persistent object,
String properyName)
Returns property descriptor for specified property.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ArcProperty
A Property that represents an "arc" connecting source node to the target node
in the graph.
|
interface |
AttributeProperty
Represents a simple object property.
|
interface |
Property
Deprecated.
since 4.0 renamed to PropertyDescriptor.
|
interface |
ToManyMapProperty
A property representing a map of objects keyed by one of the object properties.
|
interface |
ToManyProperty
A property representing a collection of objects.
|
interface |
ToOneProperty
An ArcProperty that points to a single graph node.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseArcProperty
A base implementation of the
ArcProperty . |
class |
BaseProperty
An abstract property descriptor that delegates property access to an
Accessor . |
class |
BaseToManyProperty
A generic superclass of CollectionProperty implementations.
|
class |
BaseToOneProperty
A convenience base superclass for
ToOneProperty implementors. |
class |
SimpleAttributeProperty
A descriptor of an "attribute" persistent property.
|
Modifier and Type | Field and Description |
---|---|
protected PropertyDescriptor |
PropertyAccessor.property |
protected PropertyDescriptor |
PropertyException.property |
Modifier and Type | Field and Description |
---|---|
protected Map<String,PropertyDescriptor> |
PersistentDescriptor.declaredProperties |
protected Map<String,PropertyDescriptor> |
PersistentDescriptor.properties |
Modifier and Type | Method and Description |
---|---|
PropertyDescriptor |
LazyClassDescriptorDecorator.getDeclaredProperty(String propertyName) |
PropertyDescriptor |
PersistentDescriptor.getDeclaredProperty(String propertyName) |
PropertyDescriptor |
ClassDescriptor.getDeclaredProperty(String propertyName)
Returns a Java Bean property descriptor matching property name or null if no such
property is found.
|
PropertyDescriptor |
PropertyException.getProperty() |
PropertyDescriptor |
LazyClassDescriptorDecorator.getProperty(String propertyName) |
PropertyDescriptor |
PersistentDescriptor.getProperty(String propertyName)
Recursively looks up property descriptor in this class descriptor and all
superclass descriptors.
|
PropertyDescriptor |
ClassDescriptor.getProperty(String propertyName)
Returns a property descriptor matching property name, or null if no such property
is found.
|
Modifier and Type | Method and Description |
---|---|
void |
PersistentDescriptor.addDeclaredProperty(PropertyDescriptor property)
Registers a property.
|
void |
PersistentDescriptor.addSuperProperty(PropertyDescriptor property)
Registers a superclass property.
|
Constructor and Description |
---|
PropertyAccessor(PropertyDescriptor property) |
PropertyException(String messageFormat,
PropertyDescriptor property,
Object source,
Object... messageArgs) |
PropertyException(String messageFormat,
PropertyDescriptor property,
Object source,
Throwable cause,
Object... messageArgs) |
Copyright © 2001–2023 Apache Cayenne. All rights reserved.