Restrict class visibility

Change-Id: I8dfc35cd811045b698c8e05c2dff71b6fff38acc
diff --git a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java
index f6cd198..cd2b102 100644
--- a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java
+++ b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java
@@ -23,7 +23,7 @@
  * Identifies a partition of the intent keyspace which will be assigned to and
  * processed by a single ONOS instance at a time.
  */
-public class PartitionId {
+final class PartitionId {
     private final int id;
 
     /**
@@ -40,7 +40,7 @@
      *
      * @return ID value
      */
-    public int value() {
+    int value() {
         return id;
     }