All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.composum.platform.models.annotations.PropertyDetermineResourceStrategy Maven / Gradle / Ivy

package com.composum.platform.models.annotations;

import com.composum.sling.core.InheritedValues;

import java.lang.annotation.*;

/**
 * 

Defines some defaults that apply to a {@link org.apache.sling.models.annotations.Model} class, mostly used in * conjunction with {@link Property}.

*

*

CAUTION: this specifies the defaults only for the fields/methods/constructors in the subclasses. If you specify * this on a class and again on a subclass, the subclass's defaults will not change the behaviour for stuff defined in * its superclasses.

* * @author Hans-Peter Stoerr * @see Property * @since 09/2017 */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited public @interface PropertyDetermineResourceStrategy { /** Strategy to determine the resource the properties of the model should be initialized from. */ Class value(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy