package ua.com.fielden.platform.entity.annotation;

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

/**
 * Annotation that should be used for declaring the type of entity key.
 * <p>
 * Java does not store type parameters at runtime, however quite often it is a requirement to know the exact type of an entity key when only entity class is known available (only
 * an instance). This annotation is a compromise between the need to know key type at runtime and having a developer to do an extra little to specify this annotation on every
 * concrete entity class.
 * 
 * @author 01es
 * 
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface KeyType {
    @SuppressWarnings("unchecked")
    Class<? extends Comparable> value();
}

@@ -681,25 +681,24 @@
 y class.%0D%0A *
- 
 %0D%0A * @author
@@ -706,17 +706,16 @@
 01es%0D%0A *
- 
 %0D%0A */%0D%0A@
@@ -837,17 +837,16 @@
 gs(%22
-unchecked
+rawtypes
 %22)%0D%0A

Corrected type related annotations.