*/
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 unregister a candidate.
* @author Thomas Pantelis
*/
public class UnregisterCandidateLocal {
- private final Entity entity;
+ private final DOMEntity entity;
- public UnregisterCandidateLocal(Entity entity) {
+ public UnregisterCandidateLocal(DOMEntity entity) {
this.entity = entity;
}
- public Entity getEntity() {
+ public DOMEntity getEntity() {
return entity;
}
@Override
public String toString() {
- StringBuilder builder = new StringBuilder();
- builder.append("UnregisterCandidateLocal [entity=").append(entity).append("]");
- return builder.toString();
+ return "UnregisterCandidateLocal [entity=" + entity + "]";
}
}