Convert distributed EOS impl to use new DOM EOS interfaces
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / entityownership / messages / RegisterCandidateLocal.java
index 8b15aa2b3b09321ffaa9f97c228b40287d6178ef..34500334b067ce87d6ab4d001f2be749eb6ccf48 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.datastore.entityownership.messages;
 
-import org.opendaylight.controller.md.sal.common.api.clustering.Entity;
+import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
 /**
  * Message sent to the local EntityOwnershipShard to register a candidate.
@@ -15,13 +15,13 @@ import org.opendaylight.controller.md.sal.common.api.clustering.Entity;
  * @author Thomas Pantelis
  */
 public class RegisterCandidateLocal {
-    private final Entity entity;
+    private final DOMEntity entity;
 
-    public RegisterCandidateLocal(Entity entity) {
+    public RegisterCandidateLocal(DOMEntity entity) {
         this.entity = entity;
     }
 
-    public Entity getEntity() {
+    public DOMEntity getEntity() {
         return entity;
     }