Annotation Interface PrimaryKeyColumn


@Documented @Retention(RUNTIME) @Target({ANNOTATION_TYPE,FIELD,METHOD}) @Column public @interface PrimaryKeyColumn
Identifies the annotated field of a composite primary key class as a primary key field that is either a partition or cluster key field. Annotated properties must be either reside in a PrimaryKeyClass to be part of the composite key or annotated with Id to identify a single property as primary key column.
Author:
Matthew T. Adams, Mark Paluch
See Also: