/*
* Copyright (C) 2014 Cisco Systems, Inc.
- *
+ *
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Authors : Thomas Bachman
*/
package org.opendaylight.groupbasedpolicy.renderer.opflex.lib.messages;
import java.util.List;
-import org.opendaylight.groupbasedpolicy.jsonrpc.RpcMessage;
+import org.opendaylight.groupbasedpolicy.renderer.opflex.jsonrpc.RpcMessage;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Uri;
import com.fasterxml.jackson.annotation.JsonIgnore;
public static final String UNRESOLVE_MESSAGE = "policy_unresolve";
static public class Params {
+
private String subject;
private Uri policy_uri;
private PolicyIdentity policy_ident;
+
public String getSubject() {
return subject;
}
+
public void setSubject(String subject) {
this.subject = subject;
}
+
public Uri getPolicy_uri() {
return policy_uri;
}
+
public void setPolicy_uri(Uri policy_uri) {
this.policy_uri = policy_uri;
}
+
public PolicyIdentity getPolicy_ident() {
return policy_ident;
}
+
public void setPolicy_ident(PolicyIdentity policy_ident) {
this.policy_ident = policy_ident;
}
}
+
private JsonNode id;
private String method;
private List<Params> params;
/**
* Minimal check on validity of message
+ *
* @return true if message has passed validity check
*/
@JsonIgnore