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

com.googlecode.mjorm.annotations.SubClass Maven / Gradle / Ivy

package com.googlecode.mjorm.annotations;

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

/**
 * Represents a sublcass of an entity.
 */
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SubClass {

	/**
	 * The entity subclass.
	 * @return
	 */
	Class entityClass();

	/**
	 * The discriminator value.
	 * @return
	 */
	String discriminiatorValue();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy