/*
 * Copyright 2014 Realm Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.realm.annotations;

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

/**
 * The @PrimaryKey annotation will mark a field as a primary key inside Realm. The property
 * should uniquely identify the object. Trying to insert an object with an existing primary key
 * will result in a {@link io.realm.exceptions.RealmException}. This check is made across all
 * objects of the same type in Realm.
 *
 * Primary keys also count as having the {@link io.realm.annotations.Index} annotation.
 *
 * Only one field pr. model clas can have this field, and it is only allowed on the the following
 * types: String, Short, Integer, Long, short, int, long
 */
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.FIELD)
public @interface PrimaryKey {

}

@@ -868,16 +868,13 @@
 The 
-property
+field
 %0A * 
@@ -985,16 +985,17 @@
 ult in a
+n
  %7B@link 
@@ -1034,76 +1034,8 @@
 on%7D.
- This check is made across all%0A * objects of the same type in Realm.
 %0A *%0A
@@ -1059,15 +1059,14 @@
 lso 
-count a
+implie
 s ha
@@ -1156,16 +1156,17 @@
 del clas
+s
  can hav
@@ -1172,21 +1172,26 @@
 ve this 
-field
+annotation
 , and it
@@ -1214,20 +1214,16 @@
  on the 
-the 
 followin

Update javadoc of @PrimaryKey annotation