AspectPredicateMapping

AspectPredicateMapping bean attributes

An AspectPredicateMapping is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent alfresco.rdf.predicateMapping.aspect.abstract The parent bean.

AspectPredicateMapping bean properties

The AspectPredicateMapping bean takes the following properties:

Property Type Mandatory Description
aspect AlfrescoQName Required An Alfresco QName. Use a fully-qualified name with Clark notation as the key of the entry.
predicate QName Required QName identifying a predicate. Use a fully-qualified name with Clark notation as the key of the entry.

AspectPredicateMapping example

<bean id="samples.ts.predicateMapping.aspect.versionable" parent="alfresco.rdf.predicateMapping.aspect.abstract">
  <property name="aspect" value="{http://www.alfresco.org/model/content/1.0}versionable" />
  <property name="predicate" value="{http://www.componize.com/model/samples/troubleshooting/1.0/}troubleshooting" />
</bean>

Debugging

To debug your AspectPredicateMapping, add the following entry to your log4j.properties file:

log4j.logger.com.componize.alfresco.repo.rdf.ExplicitAspectPredicateMapper=debug