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

org.ioc.commons.integration.dataaccess.localstorage.IsLocalData Maven / Gradle / Ivy

Go to download

This project defines a set of useful java interfaces for helping you in the definition of the structure of your developments in Java-projects which are designed using a Inversion-Of-Control (IOC) pattern. Useful for MVP-Pattern designs in applications coded on GWT, SWT, Android, etc.

There is a newer version: 1.2.1
Show newest version
package org.ioc.commons.integration.dataaccess.localstorage;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Marks data as local data, used by {@link LocalClientStorage}
 * 
 * @author 'Jesús Lunar Pérez'
 * @see LocalClientStorage
 * 
 */
public interface IsLocalData {
	
	/**
	 * Annotation for indicating the type returned by {@link LocalClientStorage} 
	 * 
	 * @author Jesús Lunar Pérez
	 *
	 */
	@Target({ElementType.TYPE, ElementType.FIELD})
	@Retention(RetentionPolicy.SOURCE)
	public @interface LocalDataType {
		Class value();
		Class collectionOf() default Object.class;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy