com.alogient.cameleon.sdk.content.ui.injection.CameleonModelReverseLinkedElements Maven / Gradle / Ivy
The newest version!
package com.alogient.cameleon.sdk.content.ui.injection;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.alogient.cameleon.sdk.content.model.AbstractCameleonModel;
/**
* Used in a CameleonModel
to map an element to a property.
*
* @author alord
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface CameleonModelReverseLinkedElements {
/**
* @return the name of the element which contains the ID used to map the sub elements
*/
String elementName();
/**
* @return the class of the template to retrieve
*/
Class extends AbstractCameleonModel> templateClass();
/**
* @return should this field (and children) be indexed (true by default)
*/
boolean isIndexed() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy