com.alogient.cameleon.sdk.content.ui.injection.CameleonModelImage 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;
/**
* Used in a CameleonModel
to map an element to a property.
*
* @author alord
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface CameleonModelImage {
/**
* @return the name of the element
*/
String elementName();
/**
* @return should this field (and children) be indexed (true by default)
*/
boolean isIndexed() default true;
/**
* @return the index field associated with the alt text
*/
String altIndexField() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy