Class PartOfAttributePopulator

  • All Implemented Interfaces:
    AttributePopulator

    public class PartOfAttributePopulator
    extends AbstractAttributePopulator
    A populator for assigning owner attribute in the referenced item values when they are part of the item being populated.
    • Constructor Detail

      • PartOfAttributePopulator

        public PartOfAttributePopulator()
    • Method Detail

      • isApplicable

        protected boolean isApplicable​(TypeAttributeDescriptor attribute,
                                       PersistenceContext context)
        Description copied from class: AbstractAttributePopulator
        Determines whether a specific implementation can provide value for the specified attribute.
        Specified by:
        isApplicable in class AbstractAttributePopulator
        Parameters:
        attribute - attribute to make the decision about.
        context - context that may be needed to make the decision.
        Returns:
        true, if this attribute processor is applicable to the specified attribute and can provide a value for it; false, otherwise.